Code cleanup
This commit is contained in:
parent
300e598151
commit
f67b0a9131
|
@ -1,5 +1,5 @@
|
||||||
/* $Id$ */
|
/* $Id$ */
|
||||||
/* Copyright (c) 2005-2013 Pierre Pronchery <khorben@defora.org> */
|
/* Copyright (c) 2005-2014 Pierre Pronchery <khorben@defora.org> */
|
||||||
/* This file is part of DeforaOS System libSystem */
|
/* This file is part of DeforaOS System libSystem */
|
||||||
/* This program is free software: you can redistribute it and/or modify
|
/* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU Lesser General Public License as published by
|
* it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
@ -346,7 +346,7 @@ int config_reset(Config * config)
|
||||||
|
|
||||||
static void _delete_foreach(void const * key, void * value, void * data)
|
static void _delete_foreach(void const * key, void * value, void * data)
|
||||||
{
|
{
|
||||||
char * str = (char*)key;
|
char * str = (char *)key;
|
||||||
Hash * hash = value;
|
Hash * hash = value;
|
||||||
|
|
||||||
free(str);
|
free(str);
|
||||||
|
@ -356,7 +356,7 @@ static void _delete_foreach(void const * key, void * value, void * data)
|
||||||
|
|
||||||
static void _delete_foreach_section(void const * key, void * value, void * data)
|
static void _delete_foreach_section(void const * key, void * value, void * data)
|
||||||
{
|
{
|
||||||
char * k = (char*)key;
|
char * k = (char *)key;
|
||||||
char * v = value;
|
char * v = value;
|
||||||
|
|
||||||
free(k);
|
free(k);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user