mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-12-15 08:08:55 +00:00
* remote.c (get_offsets): Only call free_symfile_segment_data if
data was allocated.
This commit is contained in:
parent
9b7f5d2048
commit
9ef895d6a1
@ -1,8 +1,12 @@
|
||||
2007-10-05 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* remote.c (get_offsets): Only call free_symfile_segment_data if
|
||||
data was allocated.
|
||||
|
||||
2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* objc-exp.y: ARI fix: remove 4 PARAMS.
|
||||
|
||||
|
||||
2007-10-03 Daniel Jacobowitz <dan@codesourcery.com>
|
||||
|
||||
* NEWS: Use uniform spacing. Correct version number for GDB 6.7
|
||||
|
@ -2134,7 +2134,8 @@ get_offsets (void)
|
||||
do_sections = 0;
|
||||
}
|
||||
|
||||
free_symfile_segment_data (data);
|
||||
if (data)
|
||||
free_symfile_segment_data (data);
|
||||
|
||||
if (do_sections)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user