From: Nickolay V. Shmyrev Date: Tue, 7 Apr 2009 22:17:34 +0000 (+0000) Subject: Ups, proper fix X-Git-Tag: EVINCE_2_27_1~91 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=a281d3cc1f64de07b4b8336c580ad4f5fcb861ed;p=evince.git Ups, proper fix svn path=/trunk/; revision=3575 --- 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; }