mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-24 20:21:43 +00:00
Fix memory leaks in the configuration file parser when a label, set,
compute or ignore statement is found before the first chip statement. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4790 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
b5b5507599
commit
44b77f38e4
3 files changed
+53
-14
No files matched your search
+27
@@ -0,0 +1,27 @@
|
||||
/*
|
||||
init.h - Part of libsensors, a Linux library for reading sensor data.
|
||||
Copyright (C) 2007 Jean Delvare <khali@linux-fr.org>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
||||
*/
|
||||
|
||||
#ifndef LIB_SENSORS_INIT_H
|
||||
#define LIB_SENSORS_INIT_H
|
||||
|
||||
#include "data.h"
|
||||
|
||||
void free_expr(sensors_expr *expr);
|
||||
|
||||
#endif /* def LIB_SENSORS_INIT_H */
|
||||
Reference in new issue
Block a user