From a826f44c25df7a2db507216b7793832695227679 Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Sat, 6 Apr 2019 11:42:57 +0200 Subject: [PATCH] In ZakFormElement::render wrong variable freeing. --- src/formelement.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/formelement.c b/src/formelement.c index 356b277..2399ff2 100644 --- a/src/formelement.c +++ b/src/formelement.c @@ -214,8 +214,8 @@ gchar if (g_strstr_len (attr_class, -1, "form-control") == NULL) { g_hash_table_insert (priv->ht_attrs, "class", g_strdup_printf ("%s form-control", attr_class)); + g_free (attr_class); } - g_free (attr_class); } else { -- 2.49.0