summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src/customsmiley.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src/customsmiley.cpp')
-rw-r--r--plugins/SmileyAdd/src/customsmiley.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/SmileyAdd/src/customsmiley.cpp b/plugins/SmileyAdd/src/customsmiley.cpp
index 0b725d6a9f..32a6f7ff25 100644
--- a/plugins/SmileyAdd/src/customsmiley.cpp
+++ b/plugins/SmileyAdd/src/customsmiley.cpp
@@ -75,7 +75,7 @@ bool SmileyCType::CreateTriggerText(char* text)
if (len == 0) return false;
unsigned reslen;
- char* res = (char*)mir_base64_decode(text, &reslen);
+ ptrA res((char*)mir_base64_decode(text, &reslen));
if (res == NULL)
return false;
@@ -88,7 +88,6 @@ bool SmileyCType::CreateTriggerText(char* text)
m_TriggerText = txt;
mir_free(txt);
- mir_free(res);
return true;
}