Skip to content

Commit

Permalink
Fixed bogus pkg_free on pointer in data segment
Browse files Browse the repository at this point in the history
Reported by @dzhou121
Closes #854
  • Loading branch information
bogdan-iancu committed Apr 20, 2016
1 parent 36c4c63 commit b9aa873
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions modules/presence/presentity.c
Expand Up @@ -855,8 +855,6 @@ int update_presentity(struct sip_msg* msg, presentity_t* presentity, int* sent_r

if(result)
pa_dbf.free_result(pa_db, result);
if(etag.s)
pkg_free(etag.s);

if (notify_body.s)
xmlFree(notify_body.s);
Expand Down

0 comments on commit b9aa873

Please sign in to comment.