glib/tests: mainloop - fix a mem leak.
glib/tests: mainloop - fix a mem leak.

https://bugzilla.gnome.org/show_bug.cgi?id=669372

Signed-off-by: Ravi Sankar Guntur <66954012c32699f1532ef3b4a55c5fdb6a5e1456@samsung.com>

01org/android-bluez-glib,cention-sany/glib,lukasz-skalski/glib,tchakabam/glib,mzabaluev/glib,bluez-android/glib,tchakabam/glib,pstglia/platform-external-bluetooth-glib,krichter722/glib,gale320/glib,tchakabam/glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/platform-external-bluetooth-glib,tamaskenez/glib,mzabaluev/glib,justinkb/aosp-bluez.glib,MathieuDuponchelle/glib,bluez-android/glib,justinkb/aosp-bluez.glib,darren-clark/android_platform_external_bluetooth_glib,cention-sany/glib,01org/android-bluez-glib,mzabaluev/glib,lukasz-skalski/glib,johne53/MB3Glib,krichter722/glib,MathieuDuponchelle/glib,djdeath/glib,krichter722/glib,cosimoc/glib,iConsole/Console-OS_external_bluetooth_glib,cosimoc/glib,johne53/MB3Glib,pstglia/external-bluetooth-glib,johne53/MB3Glib,lukasz-skalski/glib,cosimoc/glib,djdeath/glib,tamaskenez/glib,01org/android-bluez-glib,ieei/glib,01org/android-bluez-glib,01org/android-bluez-glib,lukasz-skalski/glib,darren-clark/android_platform_external_bluetooth_glib,ieei/glib,tamaskenez/glib,tchakabam/glib,justinkb/aosp-bluez.glib,bluez-android/glib,pstglia/platform-external-bluetooth-glib,Distrotech/glib,MathieuDuponchelle/glib,Distrotech/glib,justinkb/aosp-bluez.glib,endlessm/glib,pstglia/external-bluetooth-glib,iConsole/Console-OS_external_bluetooth_glib,djdeath/glib,johne53/MB3Glib,krichter722/glib,bluez-android/glib,tamaskenez/glib,pstglia/external-bluetooth-glib,endlessm/glib,gale320/glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,pstglia/platform-external-bluetooth-glib,ieei/glib,Distrotech/glib,justinkb/aosp-bluez.glib,darren-clark/android_platform_external_bluetooth_glib,mzabaluev/glib,djdeath/glib,cention-sany/glib,Distrotech/glib,mzabaluev/glib,johne53/MB3Glib,krichter722/glib,djdeath/glib,cention-sany/glib,lukasz-skalski/glib,endlessm/glib,pstglia/external-bluetooth-glib,ieei/glib,cosimoc/glib,gale320/glib,pstglia/platform-external-bluetooth-glib,gale320/glib,MathieuDuponchelle/glib,cention-sany/glib,MathieuDuponchelle/glib,iConsole/Console-OS_external_bluetooth_glib,iConsole/Console-OS_external_bluetooth_glib,bluez-android/glib,iConsole/Console-OS_external_bluetooth_glib,endlessm/glib,cosimoc/glib,endlessm/glib,johne53/MB3Glib,ieei/glib,tchakabam/glib,tamaskenez/glib,gale320/glib,Distrotech/glib