Changeset 8f88beb in mainline for uspace/lib/c/generic/io/log.c


Ignore:
Timestamp:
2012-11-25T21:34:07Z (12 years ago)
Author:
Maurizio Lombardi <m.lombardi85@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e1a27be
Parents:
150a271 (diff), 7462674 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes

File:
1 edited

Legend:

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

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