summaryrefslogtreecommitdiff
path: root/plugins/SmileyAdd/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/SmileyAdd/src')
-rw-r--r--plugins/SmileyAdd/src/customsmiley.cpp1
-rw-r--r--plugins/SmileyAdd/src/smileys.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/plugins/SmileyAdd/src/customsmiley.cpp b/plugins/SmileyAdd/src/customsmiley.cpp
index ca5f24ed26..298fae1a2f 100644
--- a/plugins/SmileyAdd/src/customsmiley.cpp
+++ b/plugins/SmileyAdd/src/customsmiley.cpp
@@ -88,6 +88,7 @@ bool SmileyCType::CreateTriggerText(char* text)
m_TriggerText = txt;
mir_free(txt);
+ mir_free(res);
return true;
}
diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp
index 6b12dbd0de..71533b9d8f 100644
--- a/plugins/SmileyAdd/src/smileys.cpp
+++ b/plugins/SmileyAdd/src/smileys.cpp
@@ -261,6 +261,7 @@ void SmileyPackType::AddTriggersToSmileyLookup(void)
first = false;
}
}
+ delete dats;
}
delete m0;
}