diff options
author | Lucas Rocha <lucasr@gnome.org> | 2006-04-17 04:11:15 +0000 |
---|---|---|
committer | Lucas Almeida Rocha <lucasr@src.gnome.org> | 2006-04-17 04:11:15 +0000 |
commit | e97b6eeaebedf82788f7218e1b63d4e6c7478e92 (patch) | |
tree | 061c929771d4bcf71b1b9bb2d2c9603fc109af32 /src | |
parent | fd749447db6ee8c48544f4ef693595f70342bed0 (diff) |
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>.
Diffstat (limited to 'src')
-rw-r--r-- | src/tree.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |