From a281d3cc1f64de07b4b8336c580ad4f5fcb861ed Mon Sep 17 00:00:00 2001 From: "Nickolay V. Shmyrev" Date: Tue, 7 Apr 2009 22:17:34 +0000 Subject: [PATCH] Ups, proper fix svn path=/trunk/; revision=3575 --- backend/tiff/tiff2ps.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c index 78f78ee8..43a6cb32 100644 --- a/backend/tiff/tiff2ps.c +++ b/backend/tiff/tiff2ps.c @@ -174,7 +174,7 @@ TIFF2PSContext* tiff2ps_context_new(const gchar *filename) { ctx->filename = g_strdup(filename); ctx->fd = g_fopen(ctx->filename, "w"); if (ctx->fd == NULL) { - g_free (filename); + g_free (ctx->filename); g_free (ctx); return NULL; } -- 2.43.5