The calculation of `max_lines` takes in account the additionnal lines from URLs
[smdp.git] / src / parser.c
index 760ef4b..9721bd4 100644 (file)
@@ -161,6 +161,7 @@ deck_t *markdown_load(FILE *input) {
             }
         }
     }
+    (text->delete)(text);
 
     slide->lines = lc;
     deck->slides = sc;