not needed in destructor: memory = nullptr;
authorFrantišek Kučera <franta-hg@frantovo.cz>
Mon, 25 Dec 2017 16:15:55 +0100
changeset 3584356a15828b
parent 34 d7eed4d972de
child 36 2b3a26d3b1ad
not needed in destructor: memory = nullptr;
c++/rgb-assembler/Memory.h
     1.1 --- a/c++/rgb-assembler/Memory.h	Mon Dec 25 01:34:06 2017 +0100
     1.2 +++ b/c++/rgb-assembler/Memory.h	Mon Dec 25 16:15:55 2017 +0100
     1.3 @@ -43,7 +43,6 @@
     1.4  
     1.5  	virtual ~Memory() {
     1.6  		free(memory);
     1.7 -		memory = nullptr;
     1.8  	}
     1.9  
    1.10  	/**