summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_row.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Clist_modern/modern_row.cpp')
-rw-r--r--plugins/Clist_modern/modern_row.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/Clist_modern/modern_row.cpp b/plugins/Clist_modern/modern_row.cpp
index e1b9a9d81a..202247e02f 100644
--- a/plugins/Clist_modern/modern_row.cpp
+++ b/plugins/Clist_modern/modern_row.cpp
@@ -72,10 +72,9 @@ ROWCELL *cppInitModernRow(ROWCELL ** tabAccess)
tmplbuf = NULL;
if (db_get_b(NULL,"ModernData","UseAdvancedRowLayout",SETTING_ROW_ADVANCEDLAYOUT_DEFAULT) == 1)
tmplbuf = db_get_sa(NULL,"ModernData","RowTemplate");
- if (tmplbuf)
- {
+ if (tmplbuf) {
rowParse(RowRoot, RowRoot, tmplbuf, i, seq,tabAccess);
- mir_free_and_nill(tmplbuf);
+ mir_free(tmplbuf);
return RowRoot;
}
if (hFile = fopen("template.txt", "rb"))