forked from KolibriOS/kolibrios
cmm: fixed bug (double free error) for #undef directive
git-svn-id: svn://kolibrios.org@9714 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
db0f7a7b77
commit
3920d392b0
@ -4844,7 +4844,11 @@ int cmpresult,ocmpresult=0;
|
|||||||
|
|
||||||
if(ptr!=NULL){ // ©¤¥ ®¡ê¥ªâ 㤠«¥¨ï
|
if(ptr!=NULL){ // ©¤¥ ®¡ê¥ªâ 㤠«¥¨ï
|
||||||
|
|
||||||
if(ptr->newid)free(ptr->newid); //㤠Ť¨âě ¤ŽŻ ¨äŽŕŹ.
|
if(ptr->newid){
|
||||||
|
free(ptr->newid); //㤠«¨âì ¤®¯ ¨ä®à¬.
|
||||||
|
// Fixed by Coldy, thx turbocat (double free error)
|
||||||
|
ptr->newid = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
leftptr=ptr->left; //¤¨â¥
|
leftptr=ptr->left; //¤¨â¥
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user