Hi,

This patch sets sms->calloc_fn to a default one
that does the following:

    mem = sms->malloc_fn(sms, size);
    if (mem)
        memset(mem, '\0', size);
    return mem;


Second it adds a check to see if the sms->realloc_fn
is valid prior to calling it.

Sander

Attachment: sms_1206.patch
Description: Binary data

Reply via email to