aboutsummaryrefslogtreecommitdiffstats
path: root/filter/filter-int.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-05-17 04:01:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-05-17 04:01:51 +0800
commit7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df (patch)
tree16c18778dcc62dffa678fb5a2db949db2485ee14 /filter/filter-int.c
parent9d5f54f176d09cf81adeb02b4cfb0553100d4a1b (diff)
downloadgsoc2013-evolution-7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df.tar.gz
gsoc2013-evolution-7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df.tar.zst
gsoc2013-evolution-7cd27bf6a49c4b63bf95716a07c47f5cd9ce71df.zip
Added a label definition.
2002-05-16 Jeffrey Stedfast <fejj@ximian.com> * vfoldertypes.xml: Added a label definition. * filtertypes.xml: Added a label definition. * filter-label.c: New filter widget for labels. * filter-element.c (filter_element_new_type_name): Add support for the new label widget. * filter-int.c (format_sexp): Fixed a memory leak. svn path=/trunk/; revision=16936
Diffstat (limited to 'filter/filter-int.c')
-rw-r--r--filter/filter-int.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/filter/filter-int.c b/filter/filter-int.c
index 0fb0685aec..25d70e43e2 100644
--- a/filter/filter-int.c
+++ b/filter/filter-int.c
@@ -221,6 +221,9 @@ static void
format_sexp (FilterElement *fe, GString *out)
{
FilterInt *fs = (FilterInt *)fe;
+ char *str;
- g_string_append(out, g_strdup_printf("%d", fs->val));
+ str = g_strdup_printf ("%d", fs->val);
+ g_string_append (out, str);
+ g_free (str);
}