Skip to content
Snippets Groups Projects
Commit ac1bd155 authored by oharboe's avatar oharboe
Browse files

Edgar Grimberg found tiny memory leak

git-svn-id: svn://svn.berlios.de/openocd/trunk@644 b42882b7-edfa-0310-969c-e2dbd0fdcd60
parent 32b274eb
No related branches found
No related tags found
No related merge requests found
......@@ -1612,6 +1612,9 @@ int gdb_query_packet(connection_t *connection, target_t *target, char *packet, i
ram_start will be precisely 0 */
}
free(banks);
banks = NULL;
xml_printf(&retval, &xml, &pos, &size, "</memory-map>\n");
if (retval != ERROR_OK)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment