Commit 7b94a6ff authored by Benjamin Otte's avatar Benjamin Otte
Browse files

styleproperty: Fix memleak in unpacking code

parent f4e730e7
......@@ -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;
}
......
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