[Notification] Fix handle leak (#57)
authorSeungha Son <linuxias@gmail.com>
Fri, 19 Jan 2018 05:41:56 +0000 (14:41 +0900)
committersemun-lee <35090067+semun-lee@users.noreply.github.com>
Fri, 19 Jan 2018 05:41:56 +0000 (14:41 +0900)
src/Tizen.Applications.Notification/Tizen.Applications.Notifications/NotificationStyleBinder.cs

index e17ae6a..5824a18 100755 (executable)
@@ -253,6 +253,7 @@ namespace Tizen.Applications.Notifications
                         Interop.Notification.GetExtentionData(notification.Handle, replyKey, out bundleHandle);
                         Bundle bundle = new Bundle(bundleHandle);
                         reply.ParentIndex = (ButtonIndex)int.Parse(bundle.GetItem(replyKey).ToString());
+                        bundle.Dispose();
                     }
                     catch (Exception ex)
                     {