projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
output-item: Fix memory leak in output_item_dump().
[pspp]
/
src
/
ui
/
gui
/
helper.c
diff --git
a/src/ui/gui/helper.c
b/src/ui/gui/helper.c
index 4e9cdfb418187f2454ef3434513e0f4f2b01b440..9b40c08ab5b741f819f416c81d7a34f66a2a849e 100644
(file)
--- a/
src/ui/gui/helper.c
+++ b/
src/ui/gui/helper.c
@@
-163,7
+163,6
@@
clone_list_store (const GtkListStore *src)
const gint n_cols = gtk_tree_model_get_n_columns (GTK_TREE_MODEL (src));
GType *types = g_malloc (sizeof (*types) * n_cols);
const gint n_cols = gtk_tree_model_get_n_columns (GTK_TREE_MODEL (src));
GType *types = g_malloc (sizeof (*types) * n_cols);
- int row = 0;
GtkListStore *dest;
for (i = 0 ; i < n_cols; ++i)
GtkListStore *dest;
for (i = 0 ; i < n_cols; ++i)
@@
-188,7
+187,6
@@
clone_list_store (const GtkListStore *src)
g_value_unset (&val);
}
g_value_unset (&val);
}
- row++;
}
g_free (types);
}
g_free (types);