Changeset 5302 for lmsensors/branches/lmsensors3.0.0/lib/init.c
 Timestamp:
 07/14/08 18:21:48 (6 years ago)
 Files:

 1 modified
Legend:
 Unmodified
 Added
 Removed

lmsensors/branches/lmsensors3.0.0/lib/init.c
r5169 r5302 130 130 } 131 131 132 void free_expr(sensors_expr *expr)132 void sensors_free_expr(sensors_expr *expr) 133 133 { 134 134 if (expr>kind == sensors_kind_var) … … 136 136 else if (expr>kind == sensors_kind_sub) { 137 137 if (expr>data.subexpr.sub1) 138 free_expr(expr>data.subexpr.sub1);138 sensors_free_expr(expr>data.subexpr.sub1); 139 139 if (expr>data.subexpr.sub2) 140 free_expr(expr>data.subexpr.sub2);140 sensors_free_expr(expr>data.subexpr.sub2); 141 141 } 142 142 free(expr); … … 146 146 { 147 147 free(set>name); 148 free_expr(set>value);148 sensors_free_expr(set>value); 149 149 } 150 150 … … 152 152 { 153 153 free(compute>name); 154 free_expr(compute>from_proc);155 free_expr(compute>to_proc);154 sensors_free_expr(compute>from_proc); 155 sensors_free_expr(compute>to_proc); 156 156 } 157 157