Skip to content

Commit e41f270

Browse files
RDKEMW-4708: Replacing IARM Power manager with Power Manager Plugin (#194)
AddRef() is called within QueryInterface(). So, removed AddRef() Co-authored-by: apatel859 <[email protected]>
1 parent 263272d commit e41f270

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

helpers/PluginInterfaceBuilder.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ namespace Plugin {
113113
auto pluginInterface = controller->QueryInterfaceByCallsign<INTERFACE>(callsign.c_str());
114114

115115
if (pluginInterface) {
116-
pluginInterface->AddRef();
117116
LOGINFO("plugin interface succeed and retry count: %d",count);
118117
return pluginInterface;
119118
}

0 commit comments

Comments
 (0)