Commit 9169d8b2 authored by Guido Gunther's avatar Guido Gunther Committed by Guido Gunther
Browse files

fbd-feedback-theme: Don't leak JSON node

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