Fixed prevent issues
[apps/osp/Gallery.git] / src / GlVideoListEditorPanel.cpp
index 287e426..c34e8d7 100644 (file)
@@ -258,7 +258,9 @@ VideoListEditorPanel::CreateItem(int index, int itemWidth)
                                else
                                {
                                        AppLogDebug("EXIT 1(%s)", GetErrorMessage(GetLastResult()));
-
+                                       delete pTitle;
+                                       delete pItemText;
+                                       delete pDuration;
                                        return null;
                                }
                        }