libpcre does not use zmalloc
free edge struct
use pcre's own functions to free pcre related structures