summaryrefslogtreecommitdiffstats
path: root/server/reds.h
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2014-01-02 18:07:16 +0100
committerChristophe Fergeau <cfergeau@redhat.com>2014-01-02 18:07:16 +0100
commit7d9018d441cbb91207157b787c510da03101ef98 (patch)
treea69b2fafd107b21b29d403eaabd1203f044d01d6 /server/reds.h
parent3ac428b4b7f094ac091b2b8c39b47f90a74b9769 (diff)
downloadspice-7d9018d441cbb91207157b787c510da03101ef98.tar.gz
spice-7d9018d441cbb91207157b787c510da03101ef98.tar.xz
spice-7d9018d441cbb91207157b787c510da03101ef98.zip
tests: Avoid malloc failures
test-display-streaming is calling malloc() without checking its return value. Coverity warns about this. This commit switches to g_malloc() to sidestep this warning (g_malloc() never returns NULL but aborts instead).
Diffstat (limited to 'server/reds.h')
0 files changed, 0 insertions, 0 deletions