mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 06:18:47 +02:00
Prevent possible memory leak.
This commit is contained in:
@@ -366,8 +366,8 @@ int Evaluate(char **s, Var *locals)
|
||||
r = CallUserFunc(ufname, args);
|
||||
free(ufname);
|
||||
}
|
||||
if (r) return r;
|
||||
DBufFree(&ExprBuf);
|
||||
if (r) return r;
|
||||
}
|
||||
} else { /* Unary operator */
|
||||
f = FindFunc(DBufValue(&ExprBuf), UnOp, NUM_UN_OPS);
|
||||
|
||||
Reference in New Issue
Block a user