Fix a memory leak.

found using llvm static analyzer
This commit is contained in:
Jilles Tjoelker 2008-08-29 01:58:10 +02:00
parent d3b22631c1
commit ef8e4220ec
1 changed files with 0 additions and 1 deletions

View File

@ -446,7 +446,6 @@ find_exact_conf_by_address(const char *address, int type, const char *username)
if(address == NULL)
address = "/NOMATCH!/";
arec = rb_malloc(sizeof(struct AddressRec));
masktype = parse_netmask(address, (struct sockaddr *)&addr, &bits);
#ifdef RB_IPV6
if(masktype == HM_IPV6)