[Spice-devel] [spice-server] syntax-check: Exclude red_replay_qxl.c from sc_cast_of_argument_to_free

Christophe Fergeau cfergeau at redhat.com
Thu Oct 8 01:18:08 PDT 2015


red_replay_qxl.c stores some pointers QXLPHYSICAL data members (ie
uint64_t), and then needs to free them, so the cast is required.
---
 cfg.mk | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/cfg.mk b/cfg.mk
index 7cf1d58..c935327 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -150,3 +150,5 @@ exclude_file_name_regexp--sc_trailing_blank = ^common/win/my_getopt-1.5/getopt.3
 exclude_file_name_regexp--sc_unmarked_diagnostics = ^.*\.(c|py|h)
 
 exclude_file_name_regexp--sc_prohibit_path_max_allocation = server/tests/test_display_base.c
+
+exclude_file_name_regexp--sc_cast_of_argument_to_free = server/red_replay_qxl.c
-- 
2.5.0



More information about the Spice-devel mailing list