Revision d6e58090 ui/vnc-palette.c

b/ui/vnc-palette.c
69 69

  
70 70
void palette_destroy(VncPalette *palette)
71 71
{
72
    if (palette == NULL) {
73
        qemu_free(palette);
74
    }
72
    qemu_free(palette);
75 73
}
76 74

  
77 75
int palette_put(VncPalette *palette, uint32_t color)

Also available in: Unified diff