refactor(gl1): do free before alloc to reduce slot pressure
refactor(gl1): do free before alloc to reduce slot pressure

stardazed/stardazed-tx,zenmumbler/stardazed-tx,zenmumbler/stardazed-tx,zenmumbler/libzm,zenmumbler/libzm,stardazed/stardazed,stardazed/stardazed-tx,zenmumbler/stardazed-tx,zenmumbler/stardazed-tx,zenmumbler/libzm,zenmumbler/libzm,stardazed/stardazed,stardazed/stardazed-tx