diff options
Diffstat (limited to 'src/utils.c')
-rw-r--r-- | src/utils.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/utils.c b/src/utils.c new file mode 100644 index 0000000..f1886c4 --- /dev/null +++ b/src/utils.c @@ -0,0 +1,17 @@ +/* + * Copyright (c) 2013 Arturo Borrero Gonzalez <arturo.borrero.glez@gmail.com> + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + */ + +#include <stdlib.h> + +#include "utils.h" + +void xfree(const void *ptr) +{ + free((void *)ptr); +} |