[Freeciv-Dev] Re: Server stops after Trireme attack (PR#397)
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
man, 19 jun 2000 skrev Christian Knoke:
> > 1: Warning: malloc with size 0 at line 265 of diplodlg.c
This is really a seperate bug (and the file is in the client). This patch does:
-Check for the size of the city list before mallocing (avoid warning)
-free the malloced memory after use
-cut-paste the sorting code into the gtk client
-update the comment
-Thue
malloc_bug.diff
Description: Text Data
|
|