Only unref the vbox if it was actually created
This commit is contained in:
parent
6245dc2076
commit
073d252673
|
@ -130,6 +130,7 @@ static void _embed_destroy(Embed * embed)
|
|||
embed);
|
||||
if(embed->source != 0)
|
||||
g_source_remove(embed->source);
|
||||
if(embed->vbox != NULL)
|
||||
g_object_unref(embed->vbox);
|
||||
free(embed->widgets);
|
||||
gtk_widget_destroy(embed->button);
|
||||
|
|
Loading…
Reference in New Issue
Block a user