View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0015284 | Scribus | Internal | public | 2018-04-29 16:52 | 2019-06-04 20:56 |
Reporter | dcb | Assigned To | jghali | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.5.3 | ||||
Fixed in Version | 1.5.5.svn | ||||
Summary | 0015284: Wrong delete operator used on cpp array | ||||
Description | scribus-1.5.3/scribus/plugins/scripter/pythonize.cpp:125]: (error) Mismatching allocation and deallocation: line Source code is char *line = new char [length]; if (!line) return false; snprintf (line, length, fmtString, newPath, newPath); int res = PyRun_SimpleString (line); delete line; Suggest use char *line = new char [length]; if (!line) return false; snprintf (line, length, fmtString, newPath, newPath); int res = PyRun_SimpleString (line); delete [] line; | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-04-29 16:52 | dcb | New Issue | |
2018-04-30 09:35 | jghali | Summary | scribus-1.5.3/scribus/plugins/scripter/pythonize.cpp:125: wrong delete ? => Wrong delete operator used on cpp array |
2018-04-30 09:35 | jghali | Assigned To | => jghali |
2018-04-30 09:35 | jghali | Status | new => resolved |
2018-04-30 09:35 | jghali | Resolution | open => fixed |
2018-04-30 09:35 | jghali | Fixed in Version | => 1.5.5.svn |
2018-04-30 10:36 | jghali | Category | Plug-ins => Internal |
2018-04-30 15:24 | jghali | Product Version | => 1.5.3 |
2019-06-04 20:56 | cbradney | Status | resolved => closed |