Ignore:
Timestamp:
Jun 29, 2014, 7:30:04 AM (10 years ago)
Author:
katerina
Message:

Fix for ticket #355 (use calloc instead of malloc).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_schedule.c

    r290 r454  
    335335  len = strlen(ssched)+1;
    336336#ifdef TESTONLY
    337   copy = malloc(len);                 /* testonly code */
     337  copy = calloc(1,len);                 /* testonly code */
    338338#else
    339339  copy = SH_ALLOC(len);
Note: See TracChangeset for help on using the changeset viewer.