silly bugfix for the init fail case

git.mgm/mediaproxy-ng/2.2
Richard Fuchs 13 years ago
parent a7d40bf7bc
commit 8ae44f7aa6

@ -262,7 +262,7 @@ struct control_udp *control_udp_new(struct poller *p, struct in6_addr ip, u_int1
return c;
fail2:
free(c);
obj_put(c);
fail:
close(fd);
return NULL;

Loading…
Cancel
Save