FSCORE-551

git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16635 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
Mathieu Rene 2010-02-13 21:06:56 +00:00
parent 9c045c334b
commit 0a2ee53b72

View File

@ -372,6 +372,7 @@ int send_stun_error(stun_msg_t *response,
attr = malloc(sizeof *attr); if (!attr) return -1;
response->stun_attr = attr;
attr->attr_type = ERROR_CODE;
attr->next = NULL;
errorcode = malloc(sizeof(*errorcode));
if (!errorcode)