mirror of
https://github.com/openssh/libopenssh
synced 2026-04-19 19:26:51 +00:00
de-fatal addrmatch.c
This commit is contained in:
@@ -29,7 +29,6 @@
|
||||
|
||||
#include "match.h"
|
||||
#include "log.h"
|
||||
#include "xmalloc.h"
|
||||
|
||||
struct xaddr {
|
||||
sa_family_t af;
|
||||
@@ -416,7 +415,7 @@ addr_match_list(const char *addr, const char *_list)
|
||||
goto foundit;
|
||||
}
|
||||
}
|
||||
xfree(o);
|
||||
free(o);
|
||||
|
||||
return ret;
|
||||
}
|
||||
@@ -490,7 +489,7 @@ addr_match_cidr_list(const char *addr, const char *_list)
|
||||
continue;
|
||||
}
|
||||
}
|
||||
xfree(o);
|
||||
free(o);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user