Skip to content
Snippets Groups Projects
Commit 53f5a568 authored by Russell Bryant's avatar Russell Bryant
Browse files

fix mem leak in free_value (bug #2990)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4398 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent d685a19c
Branches
Tags
No related merge requests found
......@@ -215,6 +215,8 @@ struct val *vp;
}
if (vp->type == string || vp->type == numeric_string)
free (vp->u.s);
if (vp)
free (vp);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment