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

Victor Toso lists at victortoso.com
Thu Oct 8 02:02:04 PDT 2015


Hey,

On Thu, Oct 08, 2015 at 10:18:08AM +0200, Christophe Fergeau wrote:
> 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

Looks good.


More information about the Spice-devel mailing list