Commit Graph
12 Commits
Author SHA1 Message Date
Mark Borgerding 64fa219128 was unintentionally using abs(int) 2025-11-26 10:42:14 -05:00
Mark Borgerding 7811f7d428 fixed switch-case fall-thru 2021-01-23 11:54:02 -05:00
Rikard Falkeborn cfa9afee31 Add checks for memory failures 2018-11-28 00:38:01 +01:00
Rikard Falkeborn 5c845c5006 Free memory
This makes psdpng run clean under address sanitizer and valgrind.
2018-11-28 00:38:01 +01:00
Rikard Falkeborn d8ccb037a0 Fix memset size
In the call to memset(), the size of the pointer to mag2buf was
erroneously used instead of size of what mag2buf pointed to (float).
This leads to problems on systems where the size of the pointer is
different from the size of floats. Instead of just fixing the size,
use calloc() instead of malloc() to directly set the memory to 0.
2018-11-28 00:37:29 +01:00
h.udo bc40eccbea [BSD-3-Clause] Convert to SPDX license format 2018-07-19 14:49:00 +01:00
Mark Borgerding 070d040425 getting ready for 1.2.4 2005-10-27 19:47:42 +00:00
Mark Borgerding 75ca67f928 updated copyright years 2004-04-04 21:44:34 +00:00
Mark Borgerding e3fe1598f0 bunch of minor code cleanup 2004-02-27 03:45:12 +00:00
Mark Borgerding ac2eb527b7 fftnd now uses forward struct declaration 2004-02-24 01:38:52 +00:00
Mark Borgerding 16ac58df93 : 2004-02-02 03:51:52 +00:00
Mark Borgerding b9edc58bad psdpng does not yet work, but it will create a png 2004-02-01 22:12:35 +00:00