Prevent issue fix
authorAbhismita Ghosh <g.abhismita@samsung.com>
Thu, 27 Jun 2013 06:47:50 +0000 (15:47 +0900)
committerAbhismita Ghosh <g.abhismita@samsung.com>
Thu, 27 Jun 2013 06:47:50 +0000 (15:47 +0900)
Change-Id: I407eee4f815e7a3ae2c9caa1de6f72dda915be0c

src/VpVideoPlayerApp.cpp [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
index ebea012..44506cd
@@ -213,8 +213,8 @@ VideoPlayerApp::OnAppControlRequestReceived(RequestId reqId, const String& opera
                IList* pKeyList = pExtraData->GetKeysN();
                if (pKeyList != null)
                {
-                       HashMap* pArguments = new (std::nothrow) HashMap(SingleObjectDeleter);
-                       result r = pArguments->Construct();
+                       __pArguments = new (std::nothrow) HashMap(SingleObjectDeleter);
+                       result r = __pArguments->Construct();
 
                        if(r == E_SUCCESS)
                        {
@@ -230,16 +230,15 @@ VideoPlayerApp::OnAppControlRequestReceived(RequestId reqId, const String& opera
                                                pValue = static_cast<const String*>(pExtraData->GetValue(*pKey));
                                                if(pValue !=null)
                                                {
-                                                       pArguments->Add(new (std::nothrow) String(*pKey), new (std::nothrow) String(*pValue));
+                                                       __pArguments->Add(new (std::nothrow) String(*pKey), new (std::nothrow) String(*pValue));
                                                }
                                        }
-                                       __pArguments = pArguments;
                                }
                        }
                        else
                        {
-                               delete pArguments;
-                               pArguments = null;
+                               delete __pArguments;
+                               __pArguments = null;
                        }
 
                        delete pKeyList;