-
- Downloads
Properly account for memory allocated for channels and datastores
As in previous commits, when channels are allocated (with ast_channel_alloc) or datastores are allocated (with ast_datastore_alloc) properly account for the memory being owned by the caller, instead of the allocator function itself. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@192318 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Showing
- include/asterisk/astobj2.h 20 additions, 8 deletionsinclude/asterisk/astobj2.h
- include/asterisk/channel.h 11 additions, 2 deletionsinclude/asterisk/channel.h
- include/asterisk/datastore.h 4 additions, 1 deletioninclude/asterisk/datastore.h
- main/astobj2.c 7 additions, 5 deletionsmain/astobj2.c
- main/channel.c 67 additions, 6 deletionsmain/channel.c
- main/datastore.c 25 additions, 4 deletionsmain/datastore.c
Loading
Please register or sign in to comment