Fixed memory leak when connecting static functions 16/27116/1
authorPaul Wisbey <p.wisbey@samsung.com>
Wed, 3 Sep 2014 12:59:15 +0000 (13:59 +0100)
committerPaul Wisbey <p.wisbey@samsung.com>
Thu, 4 Sep 2014 14:16:33 +0000 (15:16 +0100)
commitfe1dd7872dcb999919a348c5edb283b335863d21
tree5fe0a8cb711f0cf9268963ef5549815a05b54679
parentfbdee869c274c481130aecce6fb8ed512edd4767
Fixed memory leak when connecting static functions

[problem]     Callback object is leaked when not using ConnectionTracker e.g.
              when connecting static functions.
[cause]       Ownership of Callback was not taken (no SlotConnection created).
[solution]    Moved ownership to SignalConnection which is always created.

Change-Id: Ie828f58a72d6badab5a72f66af0e765c6fbe7434
dali/public-api/signals/signal-slot-connections.cpp
dali/public-api/signals/signal-slot-connections.h