X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=client_common.c;h=7bdb4738bab5feb15b4c7acb1180decb61ccfda5;hp=78b232dbd043caf1dc0ee6ba58b3437000e0d86a;hb=ef0508ee41853a36a60676714ff1deecf9bb930d;hpb=83ab4b5d38bb63cf4724022c3804d3eaa2ac51d3 diff --git a/client_common.c b/client_common.c index 78b232db..7bdb4738 100644 --- a/client_common.c +++ b/client_common.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 1997-2012 Andre Noll + * Copyright (C) 1997-2013 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -44,6 +44,7 @@ void client_disconnect(struct client_task *ct) if (ct->scc.fd >= 0) close(ct->scc.fd); free_argv(ct->features); + ct->features = NULL; sc_free(ct->scc.recv); ct->scc.recv = NULL; sc_free(ct->scc.send);