Description: Fix double free() during report generation
Author: Hannes von Haugwitz <hannes@vonhaugwitz.com>
Forwarded: not-needed
diff --git before/src/report_json.c after/src/report_json.c
index cfb9696..2fc77bc 100644
--- before/src/report_json.c
+++ after/src/report_json.c
@@ -144,7 +144,8 @@ static void _print_attribute_value(report_t *report, const char* name, ATTRIBUTE
 }
 
 static void _print_attribute(report_t *report, db_line* oline, db_line* nline, ATTRIBUTE attribute) {
-    char **ovalue, **nvalue;
+    char **ovalue = NULL;
+    char **nvalue = NULL;
     int onumber, nnumber, i;
 
     if (attributes_first) { attributes_first=false; }
diff --git before/src/report_plain.c after/src/report_plain.c
index 0da107f..c87fc72 100644
--- before/src/report_plain.c
+++ after/src/report_plain.c
@@ -63,7 +63,8 @@ static void _print_report_option(report_t *report, config_option option, const c
 }
 
 static void _print_attribute(report_t *report, db_line* oline, db_line* nline, ATTRIBUTE attribute) {
-    char **ovalue, **nvalue;
+    char **ovalue = NULL;
+    char **nvalue = NULL;
     int onumber, nnumber, i, c;
     int p = (width_details-(4 + MAX_WIDTH_DETAILS_STRING))/2;
 
