Fixed _dmt_realloc()'s return value