A lot of my memory leaks are coming from this code that recognizes swipes. What am I doing wrong?The first line is something that I think is leaking (using Instruments). It\'s being shown as the respo
so when i try to run the following code, i end up with a EXC_BAD_ACCESS error. it happens when i try to release a NSMutableArray retrievedAnalysisDataList. the array is a list of retrievedAnalysisData
I am working on a Silverlight 4 project and there is a major memory leak apparently left in before I took over. I have tried two different profilers that hook into VIsual Studio 2010 and I noticed tha
I\'ve got this small snippet: Action* newAction(Agent& a, ACTION_MODE& m) { Action *new_action; do
I\'m writing a node.js addon in C++. I wrap some class instances using node::ObjectWrap, to associate the native instance with a javascript object. My problem is, the wrapped instance\'s destructor ne
I\'m developing an Mac application on Mac OS X 10.6 using Cocoa and Xcode4, after get image from camera buffer, I need to get the image\'s raw data. Here is the code:
I do not quite understand the benefit of \"multiple independent virtual address, which point to the same physical address\", even though I read many books and posts,
I was wondering what the correct way of issuing an asynchronous read operation on a pa开发者_运维技巧ge that has been swapped out is. And once this is done is there a way to execute a callback that ha
I\'m developing an application on开发者_C百科 VS 2008 Express Edition on Debug mode. When instantiating a new pointer of a class I have created, I get a std::bad_alloc exception. Since it is in Debug
Running my program through the Leaks tool in X-Code, it points to this function as the main cause of my memory leaks.