styleproperty: Fix memleak in unpacking code

This commit is contained in:
Benjamin Otte 2011-05-26 03:14:00 +02:00
parent f4e730e718
commit 7b94a6ff2f

View File

@ -1186,6 +1186,8 @@ unpack_border (const GValue *value,
g_value_init (&parameter[3].value, G_TYPE_INT);
g_value_set_int (&parameter[3].value, border->right);
gtk_border_free (border);
*n_params = 4;
return parameter;
}