Fix Windows memory error (#8274)

This commit is contained in:
xarkes 2017-08-22 20:09:52 +02:00 committed by radare
parent e8262bc024
commit 3a76ba056c

View File

@ -244,7 +244,7 @@ static RList *w32_dbg_maps(RDebug *dbg) {
MEMORY_BASIC_INFORMATION mbi;
HANDLE h_proc;
RWinModInfo mod_inf = {0};
RList *map_list = r_list_new(), *mod_list;
RList *map_list = r_list_new(), *mod_list = NULL;
GetSystemInfo (&si);
h_proc = w32_openprocess (PROCESS_QUERY_INFORMATION | PROCESS_VM_READ, FALSE, dbg->pid);