artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c608d5f
)
fix memory leak
author
blambert
<blambert@openbsd.org>
Mon, 28 Apr 2014 12:48:36 +0000
(12:48 +0000)
committer
blambert
<blambert@openbsd.org>
Mon, 28 Apr 2014 12:48:36 +0000
(12:48 +0000)
ok reyk@
usr.sbin/snmpd/smi.c
patch
|
blob
|
history
diff --git
a/usr.sbin/snmpd/smi.c
b/usr.sbin/snmpd/smi.c
index
a18cefc
..
8acb6ca
100644
(file)
--- a/
usr.sbin/snmpd/smi.c
+++ b/
usr.sbin/snmpd/smi.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: smi.c,v 1.1
4 2013/10/01 15:19:12 reyk Exp $
*/
+/* $OpenBSD: smi.c,v 1.1
5 2014/04/28 12:48:36 blambert Exp $
*/
/*
* Copyright (c) 2007, 2008 Reyk Floeter <reyk@openbsd.org>
@@
-518,6
+518,7
@@
smi_print_element(struct ber_element *root)
free(p);
goto fail;
}
+ free(p);
}
break;
case BER_TYPE_NULL: /* no payload */