Lines Matching refs:deallocated
24 …delete p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not '…
30 …delete q; // expected-warning{{Memory allocated by realloc() should be deallocated by free(), not …
35 …delete p; // expected-warning{{Memory allocated by calloc() should be deallocated by free(), not '…
40 …delete p; // expected-warning{{Memory allocated by strdup() should be deallocated by free(), not '…
45 …delete p; // expected-warning{{Memory allocated by my_malloc() should be deallocated by free(), no…
50 …operator delete(p); // expected-warning{{Memory allocated by malloc() should be deallocated by fre…
55 …delete[] p; // expected-warning{{Memory allocated by malloc() should be deallocated by free(), not…
60 …operator delete[](p); // expected-warning{{Memory allocated by malloc() should be deallocated by f…
65 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}}
71 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre…
76 …free(p); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', …
81 …free(p); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not…
86 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
91 …ong)); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', no…
96 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated b…
104 …delete[] p; // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not …
109 …delete[] p; // expected-warning{{Memory allocated by operator new should be deallocated by 'delete…
118 …delete p; // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', no…
123 …delete p; // expected-warning{{Memory allocated by operator new[] should be deallocated by 'delete…
210 …// expected-warning@-1 {{Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'del…
211 …// expected-warning@-2 {{Memory allocated by malloc() should be deallocated by free(), not 'delete…