Lines Matching refs:deallocated
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…
64 delete p; // expected-warning{{Memory allocated by alloca() should not be deallocated}}
70 …free(p); // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not fre…
75 …free(p); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', …
80 …free(p); // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', not…
85 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new' should be deallocated by …
90 …ong)); // expected-warning{{Memory allocated by operator new should be deallocated by 'delete', no…
95 …realloc(p, sizeof(long)); // expected-warning{{Memory allocated by 'new[]' should be deallocated b…
103 …delete[] p; // expected-warning{{Memory allocated by 'new' should be deallocated by 'delete', not …
108 …delete[] p; // expected-warning{{Memory allocated by operator new should be deallocated by 'delete…
117 …delete p; // expected-warning{{Memory allocated by 'new[]' should be deallocated by 'delete[]', no…
122 …delete p; // expected-warning{{Memory allocated by operator new[] should be deallocated by 'delete…
209 …// expected-warning@-1 {{Memory allocated by 'new[]' should be deallocated by 'delete[]', not 'del…
210 …// expected-warning@-2 {{Memory allocated by malloc() should be deallocated by free(), not 'delete…