summaryrefslogtreecommitdiff
path: root/plugins/Clist_modern/modern_row.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-07 08:29:51 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-07 08:29:51 +0000
commit3e102800404c38bc615cc06fd7117f2b4daeb6c5 (patch)
treea674038efde2f8060769fa6796cd1b28f96139ff /plugins/Clist_modern/modern_row.cpp
parent6ba9eb829a0b95bf9e6c6bdc9ed37d1d3947b87b (diff)
removed mir_free_and_nil for local buffers
git-svn-id: http://svn.miranda-ng.org/main/trunk@809 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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"))