summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 9da1f3eba..633b44856 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -550,6 +550,7 @@ static void duration(char *buffer, void *_time)
char *dot = strchr(mybuffer,'.');
*dot = ':';
sampletime(mybuffer, _time);
+ free(mybuffer);
} else {
sampletime(buffer, _time);
}