Reset default flags for omalloc

NOTE: SING_CHECK_SET_ARGS() leads to broken libomalloc :(
fix: memory leaks in factorization
Merge pull request #367 from mmklee/memory_sw

fix: memory leaks in factorization