From 3756cbd6b825666e68152d628c574519a3199bff Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Wed, 9 Nov 2005 19:35:28 +0000 Subject: [PATCH] plug mem leak when creating fsdev cache --- src/os/solaris/solaris_sigar.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/os/solaris/solaris_sigar.c b/src/os/solaris/solaris_sigar.c index 469e9cbd..b77ec97b 100644 --- a/src/os/solaris/solaris_sigar.c +++ b/src/os/solaris/solaris_sigar.c @@ -1321,6 +1321,7 @@ static int create_fsdev_cache(sigar_t *sigar) } } + free(mapping); sigar_file_system_list_destroy(sigar, &fslist); return SIGAR_OK;