attempt to fix www_downloads
This commit is contained in:
parent
0d90a3cef5
commit
5100a21163
@ -259,6 +259,8 @@ char *www_create_link(int dir, int sub, int fid) {
|
|||||||
|
|
||||||
hashid = (char *)malloc(sizereq);
|
hashid = (char *)malloc(sizereq);
|
||||||
|
|
||||||
|
memset(hashid, 0, sizereq);
|
||||||
|
|
||||||
if (hashids_encode_v(hashids, hashid, 4, gUser->id, dir, sub, fid) == 0) {
|
if (hashids_encode_v(hashids, hashid, 4, gUser->id, dir, sub, fid) == 0) {
|
||||||
hashids_free(hashids);
|
hashids_free(hashids);
|
||||||
free(hashid);
|
free(hashid);
|
||||||
|
Reference in New Issue
Block a user