summaryrefslogtreecommitdiffstats
path: root/dive.h
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2013-01-30 11:50:26 +1100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-30 12:07:13 +1100
commit702493053063688e6341fc1cfc3f9450c120b4ba (patch)
tree59812751b99a9e2a1ee361ab24daf66d0ee38151 /dive.h
parent410c439aef09a72fe828f6c7b8a69558684c67f4 (diff)
downloadsubsurface-702493053063688e6341fc1cfc3f9450c120b4ba.tar.gz
Properly destroy the cairo context when we're done with it
Henrik reports that on OSX, not destroying the cairo context results in a corrupted profile display. It seems to just leak memory on Linux. For gtk3, the cairo context is embedded in the GtkDrawable, for gtk2 we need to create and destroy it appropriately. Although maybe we could just make it static instead of creating/destroying it all the time. Anyway, this goes back to the old cairo destroy logic for gtk2. Reported-and-analyzed-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'dive.h')
0 files changed, 0 insertions, 0 deletions