]> andersk Git - openssh.git/commitdiff
- stevesk@cvs.openbsd.org 2008/12/10 03:55:20
authordjm <djm>
Wed, 28 Jan 2009 05:16:00 +0000 (05:16 +0000)
committerdjm <djm>
Wed, 28 Jan 2009 05:16:00 +0000 (05:16 +0000)
     [addrmatch.c]
     o cannot be NULL here but use xfree() to be consistent; ok djm@

ChangeLog
addrmatch.c

index 3314fc4d5c4336c15623cf9219a725f8a6e5c312..811c219d566a068060b52bf1a288c42d49d469de 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -17,6 +17,9 @@
    - stevesk@cvs.openbsd.org 2008/12/09 22:37:33
      [clientloop.c]
      fix typo in error message
+   - stevesk@cvs.openbsd.org 2008/12/10 03:55:20
+     [addrmatch.c]
+     o cannot be NULL here but use xfree() to be consistent; ok djm@
 
 20090107
  - (djm) [uidswap.c] bz#1412: Support >16 supplemental groups in OS X.
index f3c861a1f3b4fbfcd165394d7c0a4f1ea6030eb7..d39885b7bdeb1a08a3e26e1e51f335930441d84e 100644 (file)
@@ -1,4 +1,4 @@
-/*     $OpenBSD: addrmatch.c,v 1.3 2008/06/10 23:06:19 djm Exp $ */
+/*     $OpenBSD: addrmatch.c,v 1.4 2008/12/10 03:55:20 stevesk Exp $ */
 
 /*
  * Copyright (c) 2004-2008 Damien Miller <djm@mindrot.org>
@@ -31,6 +31,7 @@
 
 #include "match.h"
 #include "log.h"
+#include "xmalloc.h"
 
 struct xaddr {
        sa_family_t     af;
@@ -417,7 +418,7 @@ addr_match_list(const char *addr, const char *_list)
                                goto foundit;
                }
        }
-       free(o);
+       xfree(o);
 
        return ret;
 }
This page took 0.122444 seconds and 5 git commands to generate.