diff options
-rw-r--r-- | backend/tiff/tiff2ps.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |