From de4a11b01da1fbf9dd253d16134e200486b76ff3 Mon Sep 17 00:00:00 2001 From: Ryan Lantzer Date: Fri, 14 Mar 2003 19:38:47 +0000 Subject: [PATCH] winnt-stat-cache-ref-leak-fix-20030314 FIXES 1327 avoid leaking stat cache entries --- src/WINNT/afsd/cm_callback.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WINNT/afsd/cm_callback.c b/src/WINNT/afsd/cm_callback.c index 094df170af..5862c12925 100644 --- a/src/WINNT/afsd/cm_callback.c +++ b/src/WINNT/afsd/cm_callback.c @@ -112,6 +112,7 @@ void cm_CallbackNotifyChange(cm_scache_t *scp) smb_NotifyChange(0, FILE_NOTIFY_GENERIC_FILE_FILTER, dscp, NULL, NULL, TRUE); + if (dscp) cm_ReleaseSCache(dscp); } }