What steps will reproduce the problem?
1. Call CefV8Value::GetStringValue() or CefV8Value::GetFunctionName() for a
zero-length value.
What is the expected output? What do you see instead?
No string should be allocated and no memory leak should occur. Instead, an
empty string is allocated and never freed.
Please use labels and text to provide additional information.
There are two separate issues here:
1. GetCefString() in v8_impl.cc should not populate the CefString if the length
is zero.
2. clear() in cef_string_wrappers.h should call traits::clear() on any non-NULL
string_ value instead of just empty() values.
Original issue reported on code.google.com by magreenb...@gmail.com on 25 Apr 2012 at 7:36
Original issue reported on code.google.com by
magreenb...@gmail.com
on 25 Apr 2012 at 7:36