Update ootest.c

Solved realloc problem