mirror of
https://github.com/m1k1o/neko-rooms.git
synced 2026-11-02 22:51:34 -06:00
fix memory error.
This commit is contained in:
@@ -472,8 +472,10 @@ func (manager *RoomManagerCtx) GetSettings(id string) (*types.RoomSettings, erro
|
|||||||
|
|
||||||
var browserPolicy *types.BrowserPolicy
|
var browserPolicy *types.BrowserPolicy
|
||||||
if labels.BrowserPolicy != nil {
|
if labels.BrowserPolicy != nil {
|
||||||
browserPolicy.Type = labels.BrowserPolicy.Type
|
browserPolicy = &types.BrowserPolicy{
|
||||||
browserPolicy.Path = labels.BrowserPolicy.Path
|
Type: labels.BrowserPolicy.Type,
|
||||||
|
Path: labels.BrowserPolicy.Path,
|
||||||
|
}
|
||||||
|
|
||||||
var policyMount *types.RoomMount
|
var policyMount *types.RoomMount
|
||||||
for _, mount := range mounts {
|
for _, mount := range mounts {
|
||||||
|
|||||||
Reference in New Issue
Block a user