summaryrefslogtreecommitdiff
path: root/src/common/memmgr.h
AgeCommit message (Collapse)AuthorFilesLines
2018-05-312012-2018 !Maytichai Saowa1-1/+1
2016-10-28Fixed copyright year for 2016Lemongrass31101-1/+1
2016-10-14Fixed a memory manager crash when a memory leak occurs in a pluginHaru1-1/+3
- Plugins were accidentally using the core's memory manager instead of the HPM-safe wrappers. - As a side-effect of this, plugins shall not be able to hook into the iMalloc interface. - The issue was introduced in e7c2f7d827ad286dc826e483391e64b8ffe2720b Signed-off-by: Haru <haru@dotalux.com>
2016-02-24Implemented aStrndup()Haru1-0/+2
- aStrndup() behaves similarly to the POSIX function strdup(). It allocates sufficient memory for a copy of the passed string, copies it, and returns a pointer to the copy. A maximum number of characters is copied (and a NUL terminator is always appended after the end). Signed-off-by: Haru <haru@dotalux.com>
2016-01-09Sanitized various macrosHaru1-1/+1
Signed-off-by: Haru <haru@dotalux.com>
2015-12-15Added GPL-compliant header to all sources and build scriptsHaru1-3/+20
Signed-off-by: Haru <haru@dotalux.com>
2015-10-20Corrected a compilation issue in plugins that use the memmgr interfaceHaru1-3/+3
Follow-up to 54d1c8b93adbeee5838b8dadabeb789b9fa6c511 Signed-off-by: Haru <haru@dotalux.com>
2015-10-19rename malloc.c/h to memmgr.Andrei Karas1-0/+89