diff options
author | Lucas Rocha <lucasr@gnome.org> | 2006-04-17 04:13:25 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2006-04-17 04:13:25 +0000 |
commit | 266c8a5f10089a02e41d23b6ce782b491a287843 (patch) | |
tree | 452aeec55d63f5269e759570563684e283ccb525 | |
parent | 69e7fc8db1eed8afdc32d96327ffe8ed6a1237e4 (diff) | |
download | zenity-266c8a5f10089a02e41d23b6ce782b491a287843.tar.gz |
don't ignore return value from g_renew() (Fixes bug #338038). Patch from
2006-04-16 Lucas Rocha <lucasr@gnome.org>
* src/tree.c (zenity_tree_extract_column_indexes):
don't ignore return value from g_renew() (Fixes
bug #338038). Patch from Behdad Esfahbod
<gnome@behdad.org>.
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | src/tree.c | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +2006-04-16 Lucas Rocha <lucasr@gnome.org> + + * src/tree.c (zenity_tree_extract_column_indexes): + don't ignore return value from g_renew() (Fixes + bug #338038). Patch from Behdad Esfahbod + <gnome@behdad.org>. + 2006-04-10 Lucas Rocha <lucasr@gnome.org> * configure.in: post release version bump. @@ -671,7 +671,7 @@ zenity_tree_extract_column_indexes (char *indexes, int n_columns) if (index > 0 && index <= n_columns) { result[j] = index; j++; - g_renew (gint, result, j + 1); + result = g_renew (gint, result, j + 1); } } result[j] = 0; |