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>.
This commit is contained in:
parent
fd749447db
commit
e97b6eeaeb
@ -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-16 Lucas Rocha <lucasr@gnome.org>
|
||||
|
||||
* configure.in:
|
||||
|
@ -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;
|
||||
|
Reference in New Issue
Block a user