From c747b1fbcfa07649825be91f2b9001b16151584b Mon Sep 17 00:00:00 2001 From: Ivica Ico Bukvic <ico@vt.edu> Date: Tue, 23 Jul 2013 01:40:52 -0400 Subject: [PATCH] fixed segfault when trying to connect to a new port after failed connection to a reserved port --- l2ork_addons/disis_netreceive/disis_netreceive.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/l2ork_addons/disis_netreceive/disis_netreceive.c b/l2ork_addons/disis_netreceive/disis_netreceive.c index a15eb5e00..1fd57b009 100644 --- a/l2ork_addons/disis_netreceive/disis_netreceive.c +++ b/l2ork_addons/disis_netreceive/disis_netreceive.c @@ -242,7 +242,7 @@ static void disis_netreceive_setport(t_disis_netreceive *x, t_floatarg fportno) } clock_unset(x->x_clock); - clock_free(x->x_clock); + //clock_free(x->x_clock); //delete the msgqueue (if any) if (x->x_start != NULL) { @@ -331,7 +331,7 @@ static void disis_netreceive_setport(t_disis_netreceive *x, t_floatarg fportno) x->x_nconnections = 0; x->x_isdeleting = 0; - x->x_clock = clock_new(x, (t_method)disis_netreceive_output); + //x->x_clock = clock_new(x, (t_method)disis_netreceive_output); clock_delay(x->x_clock, 0); } -- GitLab