uorb pub: cleanup objects

This commit is contained in:
Thomas Gubler
2015-01-23 09:23:29 +01:00
parent da7ad9a332
commit c33173cd5d
+3 -1
View File
@@ -136,7 +136,9 @@ public:
_uorb_pub(new uORB::PublicationBase(T::handle()))
{}
~PublisherUORB() {};
~PublisherUORB() {
delete _uorb_pub;
};
/** Publishes msg
* @param msg the message which is published to the topic