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

remove unnecessary 'if'

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