diff options
| author | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-09-29 12:48:27 -0400 |
|---|---|---|
| committer | Hiltjo Posthuma <hiltjo@codemadness.org> | 2025-09-29 12:48:27 -0400 |
| commit | 7c3abae4e68b6a21f05cb04f3af31217259c0aa9 (patch) | |
| tree | 11492be7828b456ffd9fce1a37a7f78561dab017 /drw.c | |
| parent | cleanup schemes and colors (diff) | |
| download | dwm-7c3abae4e68b6a21f05cb04f3af31217259c0aa9.tar.gz dwm-7c3abae4e68b6a21f05cb04f3af31217259c0aa9.tar.bz2 dwm-7c3abae4e68b6a21f05cb04f3af31217259c0aa9.zip | |
drw.c: drw_scm_free: call free inside
Because drw_scm_create() allocates it.
Diffstat (limited to '')
| -rw-r--r-- | drw.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -215,6 +215,7 @@ drw_scm_free(Drw *drw, Clr *scm, size_t clrcount) for (i = 0; i < clrcount; i++) drw_clr_free(drw, &scm[i]); + free(scm); } void |
