From 07e3de19f564cb21064e712351318cb4fe55c9e4 Mon Sep 17 00:00:00 2001 From: Markus Engel Date: Tue, 25 Mar 2014 01:15:25 +0100 Subject: Replaced a free() with g_free(). (bzr r13208) --- src/style.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/style.cpp') diff --git a/src/style.cpp b/src/style.cpp index c57cf6349..bc869b127 100644 --- a/src/style.cpp +++ b/src/style.cpp @@ -3677,7 +3677,7 @@ sp_style_read_itextdecoration(SPITextDecorationLine *line, SPITextDecorationStyl int slen = str - hstr; gchar *frag = g_strndup(hstr,slen+1); // only send one piece at a time, since keywords may be intermixed sp_style_read_itextdecorationColor(color, frag); - free(frag); + g_free(frag); if(color->set)break; if(*str == '\0')break; hstr = str + 1; -- cgit v1.2.3