[Amizilla-cvs] amizilla/xpcom/tests TestObserverService.cpp,1.1.1.2,1.2
Brought to you by:
maxlarsson
From: Jeff S. <jsh...@us...> - 2004-10-11 21:21:13
|
Update of /cvsroot/amizilla/amizilla/xpcom/tests In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3568 Modified Files: TestObserverService.cpp Log Message: Fix delete bug. Index: TestObserverService.cpp =================================================================== RCS file: /cvsroot/amizilla/amizilla/xpcom/tests/TestObserverService.cpp,v retrieving revision 1.1.1.2 retrieving revision 1.2 diff -C2 -d -r1.1.1.2 -r1.2 *** TestObserverService.cpp 29 Jun 2004 10:42:11 -0000 1.1.1.2 --- TestObserverService.cpp 11 Oct 2004 21:20:39 -0000 1.2 *************** *** 61,65 **** const char *cstr = ToNewCString(str); printf("%s", cstr); ! delete [] (char*)cstr; } --- 61,65 ---- const char *cstr = ToNewCString(str); printf("%s", cstr); ! delete (char*)cstr; } |