Properly disposing strings

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Properly disposing strings

Postby awieser » Sat Apr 21, 2012 4:00 am

Hi,

does CEF assume ownership of passed in strings or do I have to dispose them myself after a method call ?

Regards Alex
awieser
Expert
 
Posts: 140
Joined: Sat Oct 22, 2011 8:35 am

Re: Properly disposing strings

Postby magreenblatt » Sat Apr 21, 2012 10:51 am

Depends on usage. CefString generally takes care of itself. cef_string_t may need need to be explicitly freed depending on usage. See header file comments for more info.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 198 guests