forked from AuroraMiddleware/gtk
styleproperty: Fix memleak in unpacking code
This commit is contained in:
parent
f4e730e718
commit
7b94a6ff2f
@ -1186,6 +1186,8 @@ unpack_border (const GValue *value,
|
||||
g_value_init (¶meter[3].value, G_TYPE_INT);
|
||||
g_value_set_int (¶meter[3].value, border->right);
|
||||
|
||||
gtk_border_free (border);
|
||||
|
||||
*n_params = 4;
|
||||
return parameter;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user