From 56e57d5875360ca58f7501c14c9d8aaf404edfe7 Mon Sep 17 00:00:00 2001 From: Chris Wright Date: Tue, 23 May 2006 15:08:13 -0700 Subject: [PATCH] --- yaml --- r: 26949 b: refs/heads/master c: 4a063739138e2c4e933188d641f1593e01ce8285 h: refs/heads/master i: 26947: e40e5a0f14e31c027954330d75d45e8927053fab v: v3 --- [refs] | 2 +- trunk/net/ipv4/netfilter/ip_nat_snmp_basic.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 092f9305341b..684787d52153 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 4d942d8b39bf7d43ce93d85964aeb63aeace0593 +refs/heads/master: 4a063739138e2c4e933188d641f1593e01ce8285 diff --git a/trunk/net/ipv4/netfilter/ip_nat_snmp_basic.c b/trunk/net/ipv4/netfilter/ip_nat_snmp_basic.c index 688a2f29fadf..c33244263b90 100644 --- a/trunk/net/ipv4/netfilter/ip_nat_snmp_basic.c +++ b/trunk/net/ipv4/netfilter/ip_nat_snmp_basic.c @@ -768,6 +768,7 @@ static unsigned char snmp_object_decode(struct asn1_ctx *ctx, len *= sizeof(unsigned long); *obj = kmalloc(sizeof(struct snmp_object) + len, GFP_ATOMIC); if (*obj == NULL) { + kfree(lp); kfree(id); if (net_ratelimit()) printk("OOM in bsalg (%d)\n", __LINE__);