2 * mismatched new and delete

Bug #1895938 reported by dcb
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Grub Customizer
New
Undecided
Unassigned

Bug Description

1.

src/Bootstrap/FactoryImpl/../../Model/SettingsManagerData.hpp:78:6: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]

Source code is

                                        delete contentBuf;

2.

src/Bootstrap/FactoryImpl/../../Model/SettingsManagerData.hpp:83:5: warning: 'delete' applied to a pointer that was allocated with 'new[]'; did you mean 'delete[]'? [-Wmismatched-new-delete]

Duplicate

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.