0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

Fix DStr move constructor

Previously dstr_move would try to free the uninitialized value in
DStr::str::array
This commit is contained in:
Palana 2014-06-25 16:54:07 +02:00
parent 113454a2c8
commit 5afedb1092

View File

@ -26,7 +26,7 @@ class DStr {
public:
inline DStr() {dstr_init(&str);}
inline DStr(DStr &&other)
inline DStr(DStr &&other) : DStr()
{
dstr_move(&str, &other.str);
}