fbd-feedback-theme: Don't leak JSON node
This commit is contained in:
committed by
Guido Gunther
parent
dc68afdf5f
commit
9169d8b23b
@@ -249,7 +249,7 @@ fbd_feedback_theme_new (const gchar *name)
|
||||
FbdFeedbackTheme *
|
||||
fbd_feedback_theme_new_from_data (const gchar *data, GError **error)
|
||||
{
|
||||
JsonNode *node = json_from_string(data, error);
|
||||
g_autoptr (JsonNode) node = json_from_string(data, error);
|
||||
if (!node)
|
||||
return NULL;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user