Fixed memory leaks and uninitialized values.

This commit is contained in:
EvilPudding
2016-02-24 20:15:47 +00:00
parent 0417ed63a8
commit bda6fa9d30
3 changed files with 5 additions and 3 deletions

View File

@@ -42,13 +42,13 @@ typedef double (*te_fun7)(double, double, double, double, double, double, double
typedef union
{
te_fun0 f0; te_fun1 f1; te_fun2 f2; te_fun3 f3; te_fun4 f4; te_fun5 f5; te_fun6 f6; te_fun7 f7;
te_fun0 f0; te_fun1 f1; te_fun2 f2; te_fun3 f3; te_fun4 f4; te_fun5 f5; te_fun6 f6; te_fun7 f7;
} te_fun;
typedef struct te_expr {
int type;
union {double value; const double *bound; te_fun fun; };
int member_count;
int member_count;
struct te_expr *members[];
} te_expr;