/*
- * Copyright (C) 2010-2011 jeanfi@gmail.com
+ * Copyright (C) 2010-2013 jeanfi@gmail.com
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License as
void sysinfo_cleanup()
{
if (cpu)
- free(cpu);
+ g_free(cpu);
}
static json_object *ram_to_json_object(const struct psysinfo *s)