Opened 17 years ago
Closed 17 years ago
#2172 closed defect (fixed)
mscopyclass should increase the numstyles after a copy
Reported by: | assefa | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | 5.0 release |
Component: | MapServer C Library | Version: | |
Severity: | normal | Keywords: | |
Cc: |
Description
@@ -418,6 +418,8 @@
msSetError(MS_MEMERR, "Failed to copy style.", "msCopyClass()"); return MS_FAILURE;
}
+ + dst->numstyles++;
should be enough to fix this problem.
Plus adding clearing of all styles in the destination class to ensure that dst->numstyles = 0.
Change History (1)
comment:1 by , 17 years ago
Milestone: | → 5.0 release |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Commited fix in r6385.
Closing it.