summaryrefslogtreecommitdiff
path: root/expr.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-10 13:39:10 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 14:35:34 -0800
commit265ea3a77418df2744575f1168f89a33f01e72d4 (patch)
tree7b67b74b0a3b3e519f80b78e56be491acd748653 /expr.c
parent81e51cf1ff494131827df487a0f538c3b07e0407 (diff)
Replace uAlloc() and uTypedAlloc() with direct malloc() calls
All these wrappers did was mess with types. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'expr.c')
-rw-r--r--expr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/expr.c b/expr.c
index b3d8957..8351f2c 100644
--- a/expr.c
+++ b/expr.c
@@ -765,7 +765,7 @@ ExprResolveString(ExprDef * expr,
int len;
char *new;
len = strlen(leftRtrn.str) + strlen(rightRtrn.str) + 1;
- new = (char *) uAlloc(len);
+ new = malloc(len);
if (new)
{
snprintf(new, len, "%s%s", leftRtrn.str, rightRtrn.str);