On 03/11/2014 07:35 PM, Jason Evans wrote: >> malloc(i * 100); > > Call test_malloc() instead of malloc() here, and I think your program will work as intended. Thanks. I knew it's got to be something stupid =| -- Wbr, Antony Dovgal