:: commit a182db507e36ef8e2508c256513c452c6d63fad9

Kamila Szewczyk <kspalaiologos@gmail.com> — 2022-09-01 15:20

parents: 72949c053d

remove trailing free

simplifies code flow and the operating system will reclaim memory anyways
diff --git a/src/main.c b/src/main.c
index 4978c11..a32554c 100644
--- a/src/main.c
+++ b/src/main.c
@@ -628,9 +628,5 @@ int main(int argc, char * argv[]) {
     close_data_file(input_des);
     close_data_file(output_des);
 
-    /* Clean up. */
-    if(f2 != NULL && !force_stdstreams)
-        free(output);
-
     return r;
 }
tab: 248 wrap: offon