X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=backend%2Ftiff%2Ftiff2ps.c;h=43a6cb32a5a961a9edd7424695abaf6ffdc8425b;hb=25f996165b1bb22783c5cfd43544ab9703a0dfb5;hp=78f78ee8fde84194882b57e5f535c72156315278;hpb=94cadcfb95641a0aca6082fb42c8eff6ba47b878;p=evince.git 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; }