Skip to content

Commit 25a6735

Browse files
authored
Merge pull request #161 from ssitar583/develop
RDKEMW-2854 : Fix the double free issue on call to onApplicationStateChanged api
2 parents 8cb0f37 + 7302ede commit 25a6735

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

server/plat/gdial.cpp

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,6 @@ class GDialCastObject
8282
reterror = GDIAL_CAST_ERROR_NONE;
8383
}
8484
}
85-
if (nullptr != AppObj)
86-
{
87-
delete AppObj;
88-
AppObj = nullptr;
89-
}
9085
GDIAL_LOGTRACE("Exiting ...");
9186
return reterror;
9287
}
@@ -993,4 +988,4 @@ int gdial_os_application_service_notification(gboolean isNotifyRequired, void* n
993988
}
994989
GDIAL_LOGTRACE("Exiting ...");
995990
return GDIAL_APP_ERROR_NONE;
996-
}
991+
}

0 commit comments

Comments
 (0)