summaryrefslogtreecommitdiffstats
path: root/gtk/src/preview.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/src/preview.c')
-rw-r--r--gtk/src/preview.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/src/preview.c b/gtk/src/preview.c
index a63f61b2d..cf046f24a 100644
--- a/gtk/src/preview.c
+++ b/gtk/src/preview.c
@@ -240,8 +240,8 @@ ghb_preview_cleanup(signal_user_data_t *ud)
{
if (ud->preview->current)
{
- ud->preview->current = NULL;
g_free(ud->preview->current);
+ ud->preview->current = NULL;
}
}
@@ -987,7 +987,7 @@ ghb_set_preview_image(signal_user_data_t *ud)
{
widget = GHB_WIDGET (ud->builder, "preview_button_image");
gtk_image_set_from_pixbuf(GTK_IMAGE(widget), scaled_preview);
- g_object_unref (scaled_preview);
+ g_object_unref(scaled_preview);
}
}
}