Skip to content

Commit

Permalink
Free correct VP
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 18, 2013
1 parent caffb59 commit 152071b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/dhcp.c
Expand Up @@ -981,7 +981,7 @@ static VALUE_PAIR *fr_dhcp_vp2suboption(VALUE_PAIR *vps)
length = fr_dhcp_vp2attr(vp, ptr + 2,
tlv->vp_tlv + tlv->length - ptr);
if (length > 255) {
pairfree(&vp);
pairfree(&tlv);
return NULL;
}

Expand Down

0 comments on commit 152071b

Please sign in to comment.