Changeset a7f7ed12 in mainline for uspace/srv/logger/initlvl.c


Ignore:
Timestamp:
2012-11-18T17:14:37Z (12 years ago)
Author:
Martin Sucha <sucha14@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
03f0b02, 1f7753a
Parents:
20f8111
Message:

Fix memory leak in logger

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/logger/initlvl.c

    r20f8111 ra7f7ed12  
    3838#include <sysinfo.h>
    3939#include <str.h>
     40#include <stdlib.h>
    4041#include "logger.h"
    4142
     
    9192        char level_str[200];
    9293        str_cpy(level_str, 200, (const char *) argument);
     94        free(argument);
    9395
    9496        parse_level_settings(level_str);
Note: See TracChangeset for help on using the changeset viewer.