Fix semaphore clean up in RProc destructor

The semaphore created in the RProc constructor is never cleaned up. To
resolve this, the destructor will now delete the semaphore.

Change-Id: Ib641a87129bacf3d7ba097c4e89aa77fa255e2f8
Signed-off-by: Mikael Olsson <mikael.olsson@arm.com>
diff --git a/applications/message_handler_openamp/remoteproc.cpp b/applications/message_handler_openamp/remoteproc.cpp
index 599452b..c2db93a 100644
--- a/applications/message_handler_openamp/remoteproc.cpp
+++ b/applications/message_handler_openamp/remoteproc.cpp
@@ -84,6 +84,7 @@
 RProc::~RProc() {
     mailbox.deregisterCallback(mailboxCallback, static_cast<void *>(this));
     vTaskDelete(notifyHandle);
+    vSemaphoreDelete(notifySemaphore);
 }
 
 remoteproc *RProc::getRProc() {