Fix memory leak
Initialize zval properly
Preallocate 10 memory frames
Merge branch 'memory-opt' into all-fixes
Fix linkTo()