This commit is contained in:
Jay 2018-10-09 23:49:59 +08:00
parent 38bc2f7639
commit 4c3fe82c82
1 changed files with 1 additions and 8 deletions

View File

@ -351,17 +351,10 @@ func lottery(sub, txt string, s *lineobj.SourceObject) (res string) {
dest[val] = arr[idx]
arr[idx] = nil
}
arr = nil
data := dest[0]
// set arr to nil
for i := range dest {
dest[i] = nil
}
arr = nil
dest = nil
perm = nil
conf := config.GetConf()
u := conf.URL
if last := len(u); last > 0 && u[last-1] == '/' {