summaryrefslogtreecommitdiff
path: root/ice.pc.in
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-07-07 11:23:46 +0100
committerEmil Velikov <emil.l.velikov@gmail.com>2017-09-07 13:51:51 +0100
commit7a7844bf5ade915268fe7f9b292908c6cd75f3ba (patch)
treeb3877b890af88104b90c01a567ebb76e63b913b4 /ice.pc.in
parent7ef9680caa8c223a09beb637e26fd3471128e6ba (diff)
Make sure errorStr is a free-able string
If the `errorClass` isn't handled by the switch, `errorStr`'s initial value would be a pointer to some static memory with an empty string, and freeing it would most likely crash. Let's set it to NULL instead, as is done in other similar places. Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com> Acked-by: Walter Harms <wharms@bfs.de> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Diffstat (limited to 'ice.pc.in')
0 files changed, 0 insertions, 0 deletions