Lines Matching refs:allocated
23 …delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '…
29 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not …
34 …delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '…
39 …delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '…
44 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no…
49 …operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by fre…
54 …delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not…
59 …operator delete[](p); // expected-warning{{Memory allocated by malloc() should be deallocated by f…
65 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre…
70 …free(p); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', …
75 …free(p); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not…
80 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
85 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by operator new should be dealloca…
90 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated b…
95 …delete[] p; // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not …
100 …delete[] p; // expected-warning{{Memory allocated by operator new should be deallocated by 'delete…
105 …delete p; // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', no…
110 …delete p; // expected-warning{{Memory allocated by operator new[] should be deallocated by 'delete…
115 …ing{{+dataWithBytesNoCopy:length:freeWhenDone: cannot take ownership of memory allocated by 'new'}}
197 …// expected-warning@-1 {{Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'del…
198 …// expected-warning@-2 {{Memory allocated by malloc() should be deallocated by free(), not 'delete…