Ticket #587: log.c.patch

File log.c.patch, 395 bytes (added by dogbert2, 9 years ago)

Patch file for ticket #587

  • log.c

    old new  
    7777   * Allocate our context
    7878   */
    7979  context = (struct plugin_context *) calloc (1, sizeof (struct plugin_context));
     80  if (NULL == context) {
     81    printf("Unable to allocate memory for context\n");
     82    return NULL;
     83  }
    8084
    8185  /*
    8286   * Set the username/password we will require.