]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commit
Fix memory leaks in ATTRIB(..., strzone(...)) calls.
authorRudolf Polzer <divverent@xonotic.org>
Fri, 27 Nov 2015 20:56:11 +0000 (21:56 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 27 Nov 2015 20:56:11 +0000 (21:56 +0100)
commit09dd62bfe9825f234670de0409a129c636833c5e
tree80f2f7d8829b87eeb668eeeb8853fa63a32a9fb4
parente34bf8062b101ab4eb9e9128b5926118e4ed570f
Fix memory leaks in ATTRIB(..., strzone(...)) calls.

These calls don't free the previously allocated string in the same
field, causing a leak.
13 files changed:
qcsrc/common/turrets/turret/ewheel.qc
qcsrc/common/turrets/turret/flac.qc
qcsrc/common/turrets/turret/fusionreactor.qc
qcsrc/common/turrets/turret/hellion.qc
qcsrc/common/turrets/turret/hk.qc
qcsrc/common/turrets/turret/machinegun.qc
qcsrc/common/turrets/turret/mlrs.qc
qcsrc/common/turrets/turret/phaser.qc
qcsrc/common/turrets/turret/plasma.qc
qcsrc/common/turrets/turret/plasma_dual.qc
qcsrc/common/turrets/turret/tesla.qc
qcsrc/common/turrets/turret/walker.qc
qcsrc/lib/oo.qh