bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

src/gold/arm.cc:4513: de-allocation then use ?


From: David Binderman
Subject: src/gold/arm.cc:4513: de-allocation then use ?
Date: Mon, 9 Nov 2015 22:43:01 +0000

Hello there,

[src/gold/arm.cc:4513]: (error) Returning/dereferencing 'buffer' after it is 
deallocated / released

Source code is

      delete[] buffer;
      return std::string(buffer);

Suggest code rework.

Regards

David Binderman

                                          


reply via email to

[Prev in Thread] Current Thread [Next in Thread]