summaryrefslogtreecommitdiffstats
path: root/libvo/vo_aa.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_aa.c')
-rw-r--r--libvo/vo_aa.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/libvo/vo_aa.c b/libvo/vo_aa.c
index 0bcb424d99..3e55803982 100644
--- a/libvo/vo_aa.c
+++ b/libvo/vo_aa.c
@@ -651,17 +651,16 @@ static int parse_suboptions(const char *arg) {
if (subcolor) aaopt_subcolor = getcolor(subcolor);
}
- if (subopts) free(subopts);
- if (booleans) free(booleans);
+ free(subopts);
+ free(booleans);
if (strings) {
for (i=0; i<nstrings; i++)
- if (strings[i])
- free(strings[i]);
+ free(strings[i]);
free(strings);
}
- if (osdcolor) free(osdcolor);
- if (subcolor) free(subcolor);
- if (helpmsg) free(helpmsg);
+ free(osdcolor);
+ free(subcolor);
+ free(helpmsg);
return retval;
}