mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-23 09:04:15 +00:00
ges-launcher: don't leak sanitized_timeline string
Summary: sanitized_timeline is created when parsing command line, but it isn't free'd. Reviewers: thiblahute Differential Revision: https://phabricator.freedesktop.org/D382
This commit is contained in:
parent
1069cca0e0
commit
61c25a312f
1 changed files with 3 additions and 0 deletions
|
@ -793,6 +793,7 @@ _shutdown (GApplication * application)
|
||||||
{
|
{
|
||||||
gint validate_res = 0;
|
gint validate_res = 0;
|
||||||
GESLauncher *self = GES_LAUNCHER (application);
|
GESLauncher *self = GES_LAUNCHER (application);
|
||||||
|
ParsedOptions *opts = &self->priv->parsed_options;
|
||||||
|
|
||||||
_save_timeline (self);
|
_save_timeline (self);
|
||||||
|
|
||||||
|
@ -808,6 +809,8 @@ _shutdown (GApplication * application)
|
||||||
g_source_remove (self->priv->signal_watch_id);
|
g_source_remove (self->priv->signal_watch_id);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
g_free (opts->sanitized_timeline);
|
||||||
|
|
||||||
G_APPLICATION_CLASS (ges_launcher_parent_class)->shutdown (application);
|
G_APPLICATION_CLASS (ges_launcher_parent_class)->shutdown (application);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue