summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--subreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subreader.c b/subreader.c
index adb440bebd..8cbe7311a5 100644
--- a/subreader.c
+++ b/subreader.c
@@ -1199,7 +1199,7 @@ static subtitle* sub_fribidi (subtitle *sub, int sub_utf8, int from)
sub->text[l] = op;
}
}
- if (l){
+ if (!from && l){
for (l = sub->lines; l;)
free (sub->text[--l]);
return ERR;