mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Memory leak fix
Free the col->sargs
This commit is contained in:
parent
1d39126de6
commit
0bbe5d3ee6
@ -207,7 +207,7 @@ void mdb_free_columns(GPtrArray *columns)
|
||||
col = (MdbColumn *) g_ptr_array_index(columns, i);
|
||||
if (col->sargs) {
|
||||
for (j=0; j<col->sargs->len; j++) {
|
||||
g_free( g_ptr_array_index(col->sargs, i));
|
||||
g_free( g_ptr_array_index(col->sargs, j));
|
||||
}
|
||||
g_ptr_array_free(col->sargs, TRUE);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user