From a281d3cc1f64de07b4b8336c580ad4f5fcb861ed Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Tue, 07 Apr 2009 22:17:34 +0000 Subject: Ups, proper fix svn path=/trunk/; revision=3575 --- (limited to 'backend/tiff/tiff2ps.c') diff --git a/backend/tiff/tiff2ps.c b/backend/tiff/tiff2ps.c index 78f78ee..43a6cb3 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; } -- cgit v0.9.1