mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-28 18:10:46 +00:00
* remote.c (get_offsets): Only call free_symfile_segment_data if
data was allocated.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user