Hi..

Perhaps there here is an memory leak..

void

UserProfileHandler::setCurrentUserProfile(const std::string & name,const WengoAccount & wengoAccount) {

UserProfile * result = getUserProfile(name);

##Allocates allways a new UserProfile, but the result is not freed..

##the patch is to freed the result in the if(result) block.. at the end of the block

-tomi

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to