Commit ff00679b authored by Lionel Landwerlin's avatar Lionel Landwerlin
Browse files

sound: fix potential memory corruption
parent 8cc5caf8
......@@ -671,7 +671,7 @@ update_theme (GvcSoundThemeChooser *chooser)
if (g_strcmp0 (last_theme, chooser->priv->current_theme) != 0) {
g_free (chooser->priv->current_parent);
g_clear_pointer (&chooser->priv->current_parent, g_free);
if (load_theme_name (chooser->priv->current_theme,
&chooser->priv->current_parent) == FALSE) {
g_free (chooser->priv->current_theme);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment