SWDEV-1 - Some 'delete' clean up
Change-Id: I02564f0f0e349375bde1471e9f82df268703367b
Tá an tiomantas seo le fáil i:
1 tuismitheoir
5549007856
tiomantas
73967c3b17
13 comhad athraithe
+49
-123
Níor tháinig aon chomhaid le do chuardach
@@ -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;
|
||||
|
||||
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir