Commit ac27216
authored
Move freeing printer objects from cpdbPrinterCallback() to cpdbOnPrinterRemoved() for API consistence (#83)
Fixes #79
Straightens the logic of the API. The object is created in cpdbOnPrinterAdded() so it shouls be freed in cpdbOnPrinterRemoved() and not in cpdbPrinterCallback().
NOTE: This can require changes in frontends.1 parent 1e4af28 commit ac27216
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
129 | 128 | | |
130 | 129 | | |
131 | 130 | | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
0 commit comments