From: Marcel Poul Date: Sun, 19 Feb 2012 01:54:15 +0000 (+0000) Subject: do not check retval when destroying context if error has occured before X-Git-Tag: gridsite-core_R_1_7_17~68 X-Git-Url: http://scientific.zcu.cz/git/?a=commitdiff_plain;h=75b66cb021d24520012c69a827ee535d0e77ad2a;p=jra1mw.git do not check retval when destroying context if error has occured before --- diff --git a/emi.canl.canl-c/examples/canl_sample_server.c b/emi.canl.canl-c/examples/canl_sample_server.c index 1e3c5e5..04bbcf3 100644 --- a/emi.canl.canl-c/examples/canl_sample_server.c +++ b/emi.canl.canl-c/examples/canl_sample_server.c @@ -178,7 +178,7 @@ int main(int argc, char *argv[]) end: if (my_io_h) - err = canl_io_destroy(my_ctx, my_io_h); + canl_io_destroy(my_ctx, my_io_h); canl_free_ctx(my_ctx);