aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libversit/vobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libversit/vobject.c b/libversit/vobject.c
index dd0d1131ed..fb78253700 100644
--- a/libversit/vobject.c
+++ b/libversit/vobject.c
@@ -662,7 +662,7 @@ DLLEXPORT(void) unUseStr(const char *s)
if (stricmp(t->s,s) == 0) {
t->refCnt--;
if (t->refCnt == 0) {
- if (p == strTbl[h]) {
+ if (t == strTbl[h]) {
strTbl[h] = t->next;
}
else {