IComaComponent: Allocate listeners array only if num_notifications is != 0. Fix leak of listeners array.
IComaComponent: Allocate listeners array only if num_notifications is != 0. Fix leak of listeners array.

Signed-off-by: Denis Oliver Kropp <3fa78fd63dd76ba74a102cf4e1e79303ef9149a1@directfb.org>

djbclark/directfb-core-DirectFB,Distrotech/DirectFB,jcdubois/DirectFB,deniskropp/DirectFB,DirectFB/directfb,kevleyski/directfb,dfbdok/DirectFB1,sklnet/DirectFB,kevleyski/DirectFB-1,Distrotech/DirectFB,sklnet/DirectFB,deniskropp/DirectFB,djbclark/directfb-core-DirectFB,kevleyski/DirectFB-1,DirectFB/directfb,kaostao/directfb,deniskropp/DirectFB,lancebaiyouview/DirectFB,dfbdok/DirectFB1,kevleyski/DirectFB-1,sklnet/DirectFB,lancebaiyouview/DirectFB,lancebaiyouview/DirectFB,mtsekm/test,kevleyski/DirectFB-1,Distrotech/DirectFB,kaostao/directfb,dfbdok/DirectFB1,sklnet/DirectFB,mtsekm/test,mtsekm/test,DirectFB/directfb,lancebaiyouview/DirectFB,deniskropp/DirectFB,jcdubois/DirectFB,kevleyski/directfb,kevleyski/directfb,kaostao/directfb,djbclark/directfb-core-DirectFB,kevleyski/directfb,djbclark/directfb-core-DirectFB,jcdubois/DirectFB