Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/generic/io/log.c

    r849bebe4 re0c836e8  
    239239
    240240        char *message_buffer = malloc(MESSAGE_BUFFER_SIZE);
    241         if (message_buffer == NULL)
     241        if (message_buffer == NULL) {
    242242                return;
     243        }
    243244
    244245        vsnprintf(message_buffer, MESSAGE_BUFFER_SIZE, fmt, args);
    245246        logger_message(logger_session, ctx, level, message_buffer);
    246         free(message_buffer);
    247247}
    248248
Note: See TracChangeset for help on using the changeset viewer.