X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=render%2Fcolor.c;h=0cf7b226b2529d5fe4705ba455aa27199ce17130;hb=cb73f209c9c635866bd79f4eb2b8aa9b4fbcfa6c;hp=1f3892e5a120deba431a963c866eae2f7ca05336;hpb=2870457bf55ca2b755f73b67626532e02d9473b8;p=chaz%2Fopenbox diff --git a/render/color.c b/render/color.c index 1f3892e5..0cf7b226 100644 --- a/render/color.c +++ b/render/color.c @@ -50,6 +50,8 @@ color_rgb *color_new(int r, int g, int b) return NULL; } +//XXX same color could be pointed to twice, this might have to be a refcount + void color_free(color_rgb *c) { if (c->gc != None)