Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
f472b6de
Commit
f472b6de
authored
Nov 19, 2013
by
Wayne Stambaugh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pcbnew: fix assertion when deleting BOARD_ITEM not linked to list. (fixes lp:1252696)
parent
abfeab02
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
class_board_item.h
include/class_board_item.h
+4
-2
No files found.
include/class_board_item.h
View file @
f472b6de
...
@@ -172,11 +172,13 @@ public:
...
@@ -172,11 +172,13 @@ public:
/**
/**
* Function DeleteStructure
* Function DeleteStructure
* deletes this object after UnLink()ing it from its owner.
* deletes this object after UnLink()ing it from its owner
if it has one
.
*/
*/
void
DeleteStructure
()
void
DeleteStructure
()
{
{
if
(
GetList
()
!=
NULL
)
UnLink
();
UnLink
();
delete
this
;
delete
this
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment