-
- Downloads
core: Remove incorrect usage of attribute_malloc.
GCC documentation states that when __attribute__((malloc)) is used it should not return storage which contains any valid pointers. It specifically mentions that realloc functions should not have the malloc attribute, but this also means that complex initializers which could contain initialized pointers should not use this attribute. Change-Id: If507f33ffb3ca3b83b702196eb0e8215d27fc7d2
Showing
- include/asterisk/channel.h 2 additions, 2 deletionsinclude/asterisk/channel.h
- include/asterisk/datastore.h 1 addition, 1 deletioninclude/asterisk/datastore.h
- include/asterisk/stringfields.h 1 addition, 1 deletioninclude/asterisk/stringfields.h
- include/asterisk/utils.h 1 addition, 1 deletioninclude/asterisk/utils.h
- main/channel.c 1 addition, 1 deletionmain/channel.c
- utils/extconf.c 1 addition, 1 deletionutils/extconf.c
Loading
Please register or sign in to comment