summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a0e8f66)
raw | patch | inline | side by side (parent: a0e8f66)
author | Sven Trenkel <collectd@semidefinite.de> | |
Mon, 28 Sep 2009 23:02:48 +0000 (01:02 +0200) | ||
committer | Sven Trenkel <collectd@semidefinite.de> | |
Mon, 28 Sep 2009 23:02:48 +0000 (01:02 +0200) |
src/netapp.c | patch | blob | history |
diff --git a/src/netapp.c b/src/netapp.c
index 55f449b781112210442565cd1a43ab8ed70a1a49..0eb475a785c622ca00604d1806fda6bd31575663 100644 (file)
--- a/src/netapp.c
+++ b/src/netapp.c
{
volume_t *next;
+ if (volume == NULL)
+ return;
+
next = volume->next;
sfree (volume->name);
{
disk_t *next;
+ if (disk == NULL)
+ return;
+
next = disk->next;
sfree (disk->name);