Thanks to Marix for hinting me I should not init a pointer with quotes if I plan to allocate/free it... my stupid-level officially broke the record

This commit is contained in:
zicodxx 2010-07-20 18:38:29 +00:00
parent 764798b732
commit 5c2fdc5063
2 changed files with 5 additions and 1 deletions

View file

@ -1,5 +1,9 @@
D1X-Rebirth Changelog
20100720
--------
main/net_udp.c: Thanks to Marix for hinting me I should not init a pointer with quotes if I plan to allocate/free it... my stupid-level officially broke the record
20100719
--------
misc/hmp.c: Did not close hmp after MIDI conversion which caused some unfree memory - fixed

View file

@ -499,7 +499,7 @@ void net_udp_manual_join_game()
newmenu_do1( NULL, "ENTER GAME ADDRESS", nitems, m, (int (*)(newmenu *, d_event *, void *))manual_join_game_handler, dj, 0 );
}
static char *ljtext = "";
static char *ljtext;
int net_udp_list_join_poll( newmenu *menu, d_event *event, direct_join *dj )
{