mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
ges-launch: unref GApplication properly
Differential Revision: https://phabricator.freedesktop.org/D380
This commit is contained in:
parent
ee2697be46
commit
756bd269e1
1 changed files with 7 additions and 3 deletions
|
@ -74,7 +74,11 @@ main (int argc, gchar ** argv)
|
|||
launcher = ges_launcher_new ();
|
||||
|
||||
ret = g_application_run (G_APPLICATION (launcher), argc, argv);
|
||||
if (ret)
|
||||
return ret;
|
||||
return ges_launcher_get_exit_status (launcher);
|
||||
|
||||
if (!ret)
|
||||
ret = ges_launcher_get_exit_status (launcher);
|
||||
|
||||
g_object_unref (launcher);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue