summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-12-08 20:01:44 +0100
committerGuillaume Seguin <guillaume@segu.in>2007-12-08 20:01:44 +0100
commitdca58a0d1ab48f1b37397ec5c1fc061f58accf87 (patch)
treee8c02716d297376199b9c340a4e6f7d185ea1af5
parenta495aa8e353e7de43d19a699c5796cdf2a81b9b8 (diff)
downloadgmathlib-dca58a0d1ab48f1b37397ec5c1fc061f58accf87.tar.gz
gmathlib-dca58a0d1ab48f1b37397ec5c1fc061f58accf87.tar.bz2
* Add FIXME
-rw-r--r--gmathview/gmathview_mod_stack.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gmathview/gmathview_mod_stack.c b/gmathview/gmathview_mod_stack.c
index 31e5091..7634e32 100644
--- a/gmathview/gmathview_mod_stack.c
+++ b/gmathview/gmathview_mod_stack.c
@@ -205,6 +205,8 @@ g_math_view_destroy_mod_stack (GList *stack)
if (!stack)
return;
+ /* FIXME: there's a high probability of mem leak here */
+
stack = g_list_remove (stack, stack->data);
g_math_view_destroy_mod_stack (stack);