Fixed a segfault issue in memory_repartition_init()