haiwen/ccnet — pull request #18 by mlq (2014-01-16 14:06:05+00:00)
Title: Use g_realloc instead of realloc in lib/processor.c

Since g_malloc is used for allocation, the application is terminated if a call to allocate memory fails. Therefore the typical realloc error that existed, which will overwrite the pointer with NULL without freeing the previous allocated memory can be replaced by a simple call to g_realloc.