summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SmileyAdd/src/smileys.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/SmileyAdd/src/smileys.cpp b/plugins/SmileyAdd/src/smileys.cpp
index 71533b9d8f..dc6a0e215f 100644
--- a/plugins/SmileyAdd/src/smileys.cpp
+++ b/plugins/SmileyAdd/src/smileys.cpp
@@ -261,7 +261,8 @@ void SmileyPackType::AddTriggersToSmileyLookup(void)
first = false;
}
}
- delete dats;
+ else
+ delete dats;
}
delete m0;
}