diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-02 18:07:16 +0100 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2014-01-02 18:07:16 +0100 |
commit | 7d9018d441cbb91207157b787c510da03101ef98 (patch) | |
tree | a69b2fafd107b21b29d403eaabd1203f044d01d6 /server/reds.h | |
parent | 3ac428b4b7f094ac091b2b8c39b47f90a74b9769 (diff) | |
download | spice-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