Fixed memory leaks
[smdp.git] / src / parser.c
index 760ef4b..c85af8c 100644 (file)
@@ -161,6 +161,7 @@ deck_t *markdown_load(FILE *input) {
             }
         }
     }
+    cstring_delete(text);
 
     slide->lines = lc;
     deck->slides = sc;