From 5c2fdc5063ea61d2842ae873278ab138931270ed Mon Sep 17 00:00:00 2001 From: zicodxx <> Date: Tue, 20 Jul 2010 18:38:29 +0000 Subject: [PATCH] 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 --- CHANGELOG.txt | 4 ++++ main/net_udp.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 7f4e487eb..15fb08609 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -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 diff --git a/main/net_udp.c b/main/net_udp.c index 282900495..cb89a397b 100644 --- a/main/net_udp.c +++ b/main/net_udp.c @@ -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 ) {