C4FileMonitor(win): use StdBuf::DeletePointer()

... on memory GrabPointer()ed from a StdCopyStrBuf. Fixes the previous
commit.
Benjamin Herr 2010-04-22 14:27:15 +02:00
parent 838f0793ff
commit 224ab1b11b
1 changed files with 1 additions and 1 deletions

View File

@ -288,7 +288,7 @@ void C4FileMonitor::OnThreadEvent(C4InteractiveEventType eEvent, void *pEventDat
{
if (eEvent != Ev_FileChange) return;
pCallback((const char *)pEventData, 0);
free(pEventData);
StdBuf::DeletePointer(pEventData);
}
HANDLE C4FileMonitor::GetEvent()