plug mem leak when creating fsdev cache
This commit is contained in:
parent
4f19d45af9
commit
3756cbd6b8
|
@ -1321,6 +1321,7 @@ static int create_fsdev_cache(sigar_t *sigar)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
free(mapping);
|
||||||
sigar_file_system_list_destroy(sigar, &fslist);
|
sigar_file_system_list_destroy(sigar, &fslist);
|
||||||
|
|
||||||
return SIGAR_OK;
|
return SIGAR_OK;
|
||||||
|
|
Loading…
Reference in New Issue