Update test results
Added zmalloc from redis in order to allow different allocators.
update pcre match error message
Merge branch 'topic/zmalloc' of https://github.com/thedrow/r3 into thedrow-topic/zmalloc
fix header includes
Fixed all warnings from tests.
Removed wrong call to zfree that caused a segfault.
Using zstrndup instead of strndup)
Implemented zstrndup.
Guarding against freeing NULL pointers.
More guarding against freeing NULL pointers.
Merge pull request #28 from thedrow/topic/zmalloc

Added zmalloc from redis in order to support different allocators
libpcre does not use zmalloc
free edge struct
use pcre's own functions to free pcre related structures
Fix
Fix variable name
when we free it, we know it's not NULL
seems like pcre_free_study is not defined on older ubuntu
check macro PCRE_STUDY_JIT_COMPILE to compile pcre with JIT