Commit 3b241802 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

CSC want mb_str initialized explicitly

parent 3503ab25
......@@ -36,6 +36,7 @@ namespace VideoLAN.LibVLC
public U8String (string value)
{
mb_str = null;
if (value == null)
return;
......@@ -47,6 +48,7 @@ namespace VideoLAN.LibVLC
public U8String (IntPtr ptr)
{
mb_str = null;
if (ptr == IntPtr.Zero)
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment