summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/SimpleAR/src/Main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SimpleAR/src/Main.cpp b/plugins/SimpleAR/src/Main.cpp
index 7ebd3d52e7..d980a4298a 100644
--- a/plugins/SimpleAR/src/Main.cpp
+++ b/plugins/SimpleAR/src/Main.cpp
@@ -192,7 +192,7 @@ INT addEvent(WPARAM hContact, LPARAM hDBEvent)
TCHAR *ptszNick = db_get_tsa(hContact, pszProto, "Nick");
if (ptszNick == 0) {
- mir_free(ptszNick);
+ mir_free(ptszVal);
return FALSE;
}