This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug breakpoints/18303] Assertation: -breakpoint-insert with windows paths of file in non-current directory


https://sourceware.org/bugzilla/show_bug.cgi?id=18303

--- Comment #2 from RedSkotina <red.skotina at gmail dot com> ---
i miss free user_filename

//linespec.c:2288
else
{
      size_t MAX_PATH = 260;
      char user_filename_temp_copy[MAX_PATH];
      snprintf(user_filename_temp_copy,MAX_PATH,"%s",user_filename);
      /* No symtabs found -- discard user_filename.  */
      xfree (user_filename);
      throw_error (NOT_FOUND_ERROR, _("No source file named %s."),
user_filename_temp_copy);
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]