]> www.fi.muni.cz Git - evince.git/commitdiff
Ups, proper fix
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 7 Apr 2009 22:17:34 +0000 (22:17 +0000)
committerNickolay V. Shmyrev <nshmyrev@src.gnome.org>
Tue, 7 Apr 2009 22:17:34 +0000 (22:17 +0000)
svn path=/trunk/; revision=3575

backend/tiff/tiff2ps.c

index 78f78ee8fde84194882b57e5f535c72156315278..43a6cb32a5a961a9edd7424695abaf6ffdc8425b 100644 (file)
@@ -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;
        }