summaryrefslogtreecommitdiff
path: root/event_tagging.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-04-25 01:18:08 +0000
committerNick Mathewson <nickm@torproject.org>2008-04-25 01:18:08 +0000
commit49868b618a55c375d6c378edc174cd81e478f213 (patch)
tree43d062032c9e61bc720d71e79de3560fbb61b05f /event_tagging.c
parenta55a67d56e989b9f7fa2027f2c75bec8a55a9a87 (diff)
downloadlibevent-49868b618a55c375d6c378edc174cd81e478f213.tar.gz
r15316@tombo: nickm | 2008-04-24 20:58:36 -0400
Rename internal memory management functions from event_malloc() etc to mm_malloc() etc. svn:r725
Diffstat (limited to 'event_tagging.c')
-rw-r--r--event_tagging.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/event_tagging.c b/event_tagging.c
index 87016523..62fc4b22 100644
--- a/event_tagging.c
+++ b/event_tagging.c
@@ -445,7 +445,7 @@ evtag_unmarshal_string(struct evbuffer *evbuf, ev_uint32_t need_tag,
tag != need_tag)
return (-1);
- *pstring = event_malloc(tag_len + 1);
+ *pstring = mm_malloc(tag_len + 1);
if (*pstring == NULL)
event_err(1, "%s: malloc", __func__);
evbuffer_remove(evbuf, *pstring, tag_len);