summaryrefslogtreecommitdiff
path: root/expr.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-12-11 09:22:57 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-01-03 11:02:11 -0800
commit4119707089b5c14f53bd5ff0b86ee7e575ac9316 (patch)
tree20d427c8efb2bb88c66826de30f70136274541a0 /expr.h
parent0d22aac7bb50ff1f7588f78ec25e9fb62a7b2e5e (diff)
XkbAddDirectoryToPath: don't leak existing paths on realloc() failure
Found by cppcheck: xkbpath.c:217:9: error: Common realloc mistake: 'includePath' nulled but not freed upon failure [memleakOnRealloc] includePath = (char **) realloc(includePath, szPath * sizeof(char *)); ^ Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'expr.h')
0 files changed, 0 insertions, 0 deletions