Skip to content

Commit

Permalink
stun: removed obsolete DYN_BUF define condition
Browse files Browse the repository at this point in the history
  • Loading branch information
miconda committed May 21, 2020
1 parent cbeec44 commit 43a2a78
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/modules/stun/kam_stun.c
Expand Up @@ -928,10 +928,6 @@ static int reallock_buffer(struct stun_buffer* buffer, UINT_T len)
static void clean_memory(struct stun_msg* req,
struct stun_msg* res, struct stun_unknown_att* unknown)
{
#ifdef DYN_BUF
pkg_free(req->msg.buf.s);
#endif

if (res->msg.buf.s != NULL) {
pkg_free(res->msg.buf.s);
}
Expand Down

0 comments on commit 43a2a78

Please sign in to comment.