From d63365fc5b714147305540284ac65a8d9e82a929 Mon Sep 17 00:00:00 2001 From: Stefan Kost Date: Wed, 12 Jan 2011 16:50:51 +0200 Subject: [PATCH] camerabin2: use g_error_free instead of g_free --- tests/examples/camerabin2/gst-camera2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/camerabin2/gst-camera2.c b/tests/examples/camerabin2/gst-camera2.c index 68d9b20870..42b6e07a06 100644 --- a/tests/examples/camerabin2/gst-camera2.c +++ b/tests/examples/camerabin2/gst-camera2.c @@ -162,7 +162,7 @@ main (int argc, char *argv[]) builder = gtk_builder_new (); if (!gtk_builder_add_from_file (builder, UI_FILE, &error)) { g_warning ("Error: %s", error->message); - g_free (error); + g_error_free (error); return 1; } -- 2.34.1