Remove pointer generator that make memory leaks.
authorRomain Forlot <romain.forlot@iot.bzh>
Fri, 2 Jun 2017 17:48:24 +0000 (19:48 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 2 Jun 2017 17:48:24 +0000 (19:48 +0200)
commit9ecd09263535843e287048d299ca5bdfc85d18d9
treef6c424072a154775ff890cbbf90f8b48d9319d42
parent4ab2164774bdb9a29b2f180a9013c26c0155628d
Remove pointer generator that make memory leaks.

Only have 1 place where to generate a pointer from a DiagnosticRequest
is in low-can-cb.cpp when subscribing. Else now using reference instead
of raw pointer.

Change-Id: I7fd2f3d30afa90017b945e6b711922036123b6d3
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/binding/application.cpp
CAN-binder/low-can-binding/binding/application.hpp
CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.cpp
CAN-binder/low-can-binding/diagnostic/active-diagnostic-request.hpp
CAN-binder/low-can-binding/diagnostic/diagnostic-manager.cpp
CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp