Remove malloc() fallback since we completely rely on g_malloc() nowadays.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@4859 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Enrico Tröger 2010-04-25 17:42:43 +00:00
parent 4d34795c94
commit 1cac20b8da
2 changed files with 3 additions and 13 deletions

View File

@ -8,6 +8,9 @@
to a maximum of 32768 characters (closes #2979697).
* tagmanager/ctags.c:
Change eFree() to simply ignore NULL pointers instead of asserting.
* src/main.c:
Remove malloc() fallback since we completely rely on g_malloc()
nowadays.
2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>

View File

@ -1209,19 +1209,6 @@ void main_quit()
}
/* malloc compatibility code */
#undef malloc
void *malloc(size_t n);
/* Allocate an N-byte block of memory from the heap. If N is zero, allocate a 1-byte block. */
void *rpl_malloc(size_t n)
{
if (n == 0)
n = 1;
return malloc(n);
}
/**
* Reloads most of Geany's configuration files without restarting. Currently the following
* files are reloaded: all template files, also new file templates and the 'New (with template)'