aboutsummaryrefslogtreecommitdiff
path: root/graphics/macgui/macwindowborder.h
diff options
context:
space:
mode:
authorBorja Lorente2016-08-25 13:03:46 +0200
committerBorja Lorente2016-08-25 13:26:02 +0200
commit9444a1864b8a12b1f0c0495e7a948db250870137 (patch)
treefeaa55e3a2d0991599d4307353d2d49015127f80 /graphics/macgui/macwindowborder.h
parent2b6f1719e72d0140b74270e04d6a106e6adc5b30 (diff)
downloadscummvm-rg350-9444a1864b8a12b1f0c0495e7a948db250870137.tar.gz
scummvm-rg350-9444a1864b8a12b1f0c0495e7a948db250870137.tar.bz2
scummvm-rg350-9444a1864b8a12b1f0c0495e7a948db250870137.zip
GRAPHICS: Fix leak in macgui border loading
Diffstat (limited to 'graphics/macgui/macwindowborder.h')
-rw-r--r--graphics/macgui/macwindowborder.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/macgui/macwindowborder.h b/graphics/macgui/macwindowborder.h
index 54938e5143..6a1b55c5e3 100644
--- a/graphics/macgui/macwindowborder.h
+++ b/graphics/macgui/macwindowborder.h
@@ -86,14 +86,14 @@ public:
* Will fail if there is already an active border.
* @param The surface that will be displayed.
*/
- void addActiveBorder(TransparentSurface &source);
+ void addActiveBorder(TransparentSurface *source);
/**
* Add the given surface as the display of the border in the inactive state.
* Will fail if there is already an inactive border.
* @param The surface that will be displayed.
*/
- void addInactiveBorder(TransparentSurface &source);
+ void addInactiveBorder(TransparentSurface *source);
/**
* Accessor function for the custom offsets.