QUPowerDeviceInterface: Fix a memory leak.

Change-Id: I5e671429dcfd2968ccf5153601b0e8855cf0482b
Done-by: Mohammed Sameer <mohammed.hassan@jolla.com>