summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorShuhrat Dehkanov <sh.dehkanov@samsung.com>2015-05-13 11:08:57 +0900
committerShuhrat Dehkanov <sh.dehkanov@samsung.com>2015-05-13 11:46:45 +0900
commit7dc036342f0d73af27945bfc1279d01ac11332af (patch)
tree3879a8d855d09a0dbd76819bebbc6755c29b71e6 /src
parentbfacd0879f2ca1c1328fb647d1cc16fa8114066a (diff)
downloadsettings-7dc036342f0d73af27945bfc1279d01ac11332af.tar.gz
settings-7dc036342f0d73af27945bfc1279d01ac11332af.tar.bz2
settings-7dc036342f0d73af27945bfc1279d01ac11332af.zip
Fix SIGSEGV in CMainCatalogView
Change-Id: If8eedf3017e088aaec58c05d11916f53bb9493c0
Diffstat (limited to 'src')
-rw-r--r--src/view_maincatalog.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/view_maincatalog.cpp b/src/view_maincatalog.cpp
index de8c4f8..f154e5a 100644
--- a/src/view_maincatalog.cpp
+++ b/src/view_maincatalog.cpp
@@ -72,6 +72,10 @@ struct SMainCatalog {
CSettingMgr *mgr;
struct settingview_data *main_setting_view;
struct settingview_data *subsetting_view;
+
+ SMainCatalog() {
+ memset(this, 0, sizeof(*this));
+ }
};
/**