changeset 29910:90f1bbea45b5

Fix crash with partial fribidi conversion.
author reimar
date Sun, 22 Nov 2009 00:22:24 +0000
parents b9ac1a72aeb8
children 74ebb2b03d90
files subreader.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/subreader.c	Sun Nov 22 00:10:52 2009 +0000
+++ b/subreader.c	Sun Nov 22 00:22:24 2009 +0000
@@ -1199,7 +1199,7 @@
       sub->text[l] = op;
     }
   }
-  if (l){
+  if (!from && l){
     for (l = sub->lines; l;)
       free (sub->text[--l]);
     return ERR;