diff options
author | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-07 06:31:37 +0000 |
---|---|---|
committer | zelgadis <zelgadis@c06c8d41-db1a-0410-9941-cceddc491573> | 2007-12-07 06:31:37 +0000 |
commit | 37d418957ce613334863f491212198567ff1cd57 (patch) | |
tree | 8972c0b87ef995fe3b783a11f8f1adcb917ee20d /crawl-ref/source/makeitem.cc | |
parent | dad5adc316e93b2d8dbdf015008f931d0d4e5f09 (diff) | |
download | crawl-ref-37d418957ce613334863f491212198567ff1cd57.tar.gz crawl-ref-37d418957ce613334863f491212198567ff1cd57.zip |
The copy operator for CrawlStoreValue was copying the value of the
val.ptr pointer, rather than copying the object that the pointer
referenced; this could potentially lead to freed memory being referenced
or to memory being freed twice. This will hopefully fix some CrawlStore
related assertions caused by randarts.
git-svn-id: https://crawl-ref.svn.sourceforge.net/svnroot/crawl-ref/trunk@3015 c06c8d41-db1a-0410-9941-cceddc491573
Diffstat (limited to 'crawl-ref/source/makeitem.cc')
0 files changed, 0 insertions, 0 deletions