summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/logging.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/logging.c')
-rw-r--r--libglusterfs/src/logging.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/libglusterfs/src/logging.c b/libglusterfs/src/logging.c
index c233aedc359..4408c5f674c 100644
--- a/libglusterfs/src/logging.c
+++ b/libglusterfs/src/logging.c
@@ -914,6 +914,8 @@ out:
FREE (str2);
+ va_end (ap);
+
return ret;
}
@@ -2269,6 +2271,7 @@ err:
FREE (str2);
out:
+ va_end (ap);
return (0);
}
@@ -2318,7 +2321,9 @@ out:
if (str2)
FREE (str2);
- return ret;
+ va_end (ap);
+
+ return ret;
}
int
@@ -2470,5 +2475,7 @@ out:
FREE (str2);
+ va_end (ap);
+
return ret;
}