projects
/
profile
/
tv
/
apps
/
native
/
videoplayer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9e33567
)
allocate the app instance as dymanically
28/37928/1
author
Minkyu Kang
<mk7.kang@samsung.com>
Wed, 8 Apr 2015 03:04:25 +0000
(12:04 +0900)
committer
Minkyu Kang
<mk7.kang@samsung.com>
Wed, 8 Apr 2015 03:04:25 +0000
(12:04 +0900)
Change-Id: Ied1cbc2b5c9c23d50b1a064d954ea7e4644d9f15
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
src/main.cpp
patch
|
blob
|
history
diff --git
a/src/main.cpp
b/src/main.cpp
index
ffaa55f
..
40b741c
100644
(file)
--- a/
src/main.cpp
+++ b/
src/main.cpp
@@
-210,9
+210,10
@@
int CVideoPlayerApp::Run(int argc, char **argv)
int main(int argc, char **argv)
{
- CVideoPlayerApp
a
pp;
+ CVideoPlayerApp
*app = new CVideoPlayerA
pp;
- app
.
Run(argc, argv);
+ app
->
Run(argc, argv);
+ delete app;
return 0;
}