svn commit: r785284 - /webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c
[email protected] Tue, 16 Jun 2009 16:25:47 -0000
| Newsgroups | gmane.comp.apache.webservices.fx.devel |
|---|---|
| Message-ID | <[email protected]> |
Author: damitha
Date: Tue Jun 16 16:25:47 2009
New Revision: 785284
URL: http://svn.apache.org/viewvc?rev=785284&view=rev
Log:
Removing uninitialized case shown by valgrind
Modified:
webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c
Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c?rev=785284&r1=785283&r2=785284&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_bean_mgr.c Tue Jun 16 16:25:47 2009
@@ -182,6 +182,7 @@
sandesha2_permanent_bean_mgr_t *bean_mgr = NULL;
bean_mgr = AXIS2_MALLOC(env->allocator,
sizeof(sandesha2_permanent_bean_mgr_t));
+ bean_mgr->dbname = NULL;
if(dbname)
bean_mgr->dbname = axutil_strdup(env, dbname);
return bean_mgr;