mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-20 08:41:07 +00:00
camerabin2: use g_error_free instead of g_free
This commit is contained in:
parent
a2b5e7863e
commit
d63365fc5b
1 changed files with 1 additions and 1 deletions
|
@ -162,7 +162,7 @@ main (int argc, char *argv[])
|
||||||
builder = gtk_builder_new ();
|
builder = gtk_builder_new ();
|
||||||
if (!gtk_builder_add_from_file (builder, UI_FILE, &error)) {
|
if (!gtk_builder_add_from_file (builder, UI_FILE, &error)) {
|
||||||
g_warning ("Error: %s", error->message);
|
g_warning ("Error: %s", error->message);
|
||||||
g_free (error);
|
g_error_free (error);
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue