|
From: darcagn <da...@us...> - 2024-06-06 20:36:59
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The KallistiOS port of PLIB.".
The branch, master has been updated
via 90fa6bf24baa61a0c3022a3d4d72d1ab6217ff76 (commit)
via dbf63bae1f23c07729bc7257d1f9c29411ff8c62 (commit)
from 42d6f0596079c818e156feff7f77adb11a640302 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 90fa6bf24baa61a0c3022a3d4d72d1ab6217ff76
Merge: 42d6f05 dbf63ba
Author: Donald Haase <qu...@ya...>
Date: Tue Jun 4 21:15:39 2024 -0400
Merge pull request #1 from cepawiel/delete_fix
Fix delete warning
commit dbf63bae1f23c07729bc7257d1f9c29411ff8c62
Author: Colton Pawielski <cep...@mt...>
Date: Tue May 28 00:41:30 2024 -0500
Fix delete warning
-----------------------------------------------------------------------
Summary of changes:
fntTXF.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/fntTXF.cc b/fntTXF.cc
index 5acc652..396a00a 100644
--- a/fntTXF.cc
+++ b/fntTXF.cc
@@ -297,7 +297,7 @@ bool fntTexFont::loadTXF (const char *fname)
if ( (int)fread (bitmap, 1, bitmapSize, fd) != (int)bitmapSize)
{
- delete bitmap;
+ delete[] bitmap;
ulSetError (UL_WARNING, "fntLoadTXF: Premature EOF in '%s'.", fname);
return false;
}
@@ -305,7 +305,7 @@ bool fntTexFont::loadTXF (const char *fname)
texture = pvr_mem_malloc (2048 + (w * h) / 2);
txr_load_twiddle_vq_bitmap (bitmap, texture, w, h, 0x0000, 0xFFFF);
- delete bitmap;
+ delete[] bitmap;
}
break;
hooks/post-receive
--
The KallistiOS port of PLIB.
|