gtestutils: Don’t free unassigned variables in an error path
authorPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 15 May 2014 09:15:26 +0000 (10:15 +0100)
committerPhilip Withnall <philip.withnall@collabora.co.uk>
Thu, 15 May 2014 13:35:19 +0000 (14:35 +0100)
commit46b7217fbf02b679749cf1d042ecc57504a3b97c
tree1e6ffb851f3c5fad7fc2f4fc46073391a16ebca9
parent4360756c6903491977886f4b4eee0650469d9ea4
gtestutils: Don’t free unassigned variables in an error path

If the stream is invalid, msg.nums and msg.strings have not been
assigned to, so don’t free them.

Coverity issue: #1159505
glib/gtestutils.c