Commit 0af9e41c authored by Jean Bréfort's avatar Jean Bréfort

Fix leak.

parent 33e1e149
2015-05-16 Jean Brefort <jean.brefort@normalesup.org>
* src/sheet-object-image.c (content_start): fixed leak, [see #749444,
comment #3]
2015-05-11 Morten Welinder <terra@gnome.org>
* src/wbc-gtk.c (wbcg_validation_msg): Fix clang warning about
......
......@@ -344,6 +344,7 @@ content_start (GsfXMLIn *xin, xmlChar const **attrs)
else if (attr_eq (attrs[0], "name"))
image_name = CXML2C (attrs[1]);
g_free (soi->type);
soi->type = g_strdup (image_type);
if (image_name)
soi->name = g_strdup (image_name);
......
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