SWDEV-1 - Some 'delete' clean up

Change-Id: I02564f0f0e349375bde1471e9f82df268703367b
Este cometimento está contido em:
Jason Tang criou e Jason Tang cometeu 2021-09-09 12:12:40 -04:00
1 ascendente 5549007856
cometimento 73967c3b17
13 ficheiros modificados
+49 -123

Não existem ficheiros que correspondam à sua pesquisa

+2 -4
Ver ficheiro
@@ -310,8 +310,7 @@ void HostcallListener::terminate() {
#if defined(__clang__)
#if __has_feature(address_sanitizer)
if (urilocator)
delete urilocator;
delete urilocator;
#endif
#endif
delete doorbell_;
@@ -355,8 +354,7 @@ bool HostcallListener::initialize(const amd::Device &dev) {
delete doorbell_;
#if defined(__clang__)
#if __has_feature(address_sanitizer)
if (urilocator)
delete urilocator;
delete urilocator;
#endif
#endif
return false;