--- common/canvas_base.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/canvas_base.c b/common/canvas_base.c index fa4d373..650422b 100644 --- a/common/canvas_base.c +++ b/common/canvas_base.c @@ -769,6 +769,7 @@ static inline SpicePalette *canvas_get_localized_palette(CanvasBase *canvas, Spi case SPICE_SURFACE_FMT_16_565: default: spice_warn_if_reached(); + free(copy); return NULL; } *free_palette = TRUE; -- 2.7.3 _______________________________________________ Spice-devel mailing list Spice-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/spice-devel