Fix a memory leak.
found using llvm static analyzer
This commit is contained in:
parent
03c1fe2153
commit
ab2b9e23cc
1 changed files with 0 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue