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:
parent
113454a2c8
commit
5afedb1092
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user