missed free()

This commit is contained in:
Olaf Rempel 2006-10-07 20:40:38 +02:00
parent 273218612e
commit a44fad8ecc
6 changed files with 0 additions and 6 deletions

View File

@ -63,7 +63,6 @@ static int probe(void)
fp = fopen("/proc/net/stat/ip_conntrack", "r");
if (fp == NULL) {
log_print(LOG_WARN, "plugin ctstat");
free(buffer);
return -1;
}

View File

@ -77,7 +77,6 @@ static int probe(void)
fp = fopen("/proc/meminfo", "r");
if (fp == NULL) {
log_print(LOG_WARN, "plugin memory");
free(buffer);
return -1;
}

View File

@ -51,7 +51,6 @@ static int probe(void)
fp = fopen("/proc/net/dev", "r");
if (fp == NULL) {
log_print(LOG_WARN, "plugin netdev");
free(buffer);
return -1;
}

View File

@ -79,7 +79,6 @@ static int probe(void)
fp = fopen("/proc/net/stat/rt_cache", "r");
if (fp == NULL) {
log_print(LOG_WARN, "plugin rtstat");
free(buffer);
return -1;
}

View File

@ -79,7 +79,6 @@ static int probe(void)
fp = fopen("/proc/stat", "r");
if (fp == NULL) {
log_print(LOG_WARN, "plugin stat");
free(buffer);
return -1;
}

View File

@ -60,7 +60,6 @@ static int probe(void)
fp = fopen("/proc/vmstat", "r");
if (fp == NULL) {
log_print(LOG_WARN, "plugin vmstat");
free(buffer);
return -1;
}