Go to file
Andrew d044b13ce4
datapack: free all elements on clear (#1251)
* Fixed memory leak

When a pack was cleared or destroyed the String and Raw types could cause memory leaks. This happens when "position" is sitting at the end of the vector and can never get past the "if (pos >= elements.length())" statement. This means there is a memory leak in any plugin that clears/destroys a pack with strings and doesn't set the position to length-1 or less beforehand.

* datapack: Fix delete op on CDataPackType::Raw.

Co-authored-by: Kyle Sanderson <kyle.leet@gmail.com>
2020-04-27 18:09:13 -07:00
.github Create FUNDING.yml 2019-05-27 17:15:04 +01:00
bridge/include Burninate IDataPack (#864) 2018-08-13 23:03:48 +01:00
configs Allow setting multiple chat trigger characters (PR #449, bug 4341, bug 5668) 2016-10-04 16:34:42 +01:00
core datapack: free all elements on clear (#1251) 2020-04-27 18:09:13 -07:00
editor Added AMXX Pawn geshi generation script. 2010-08-23 13:53:44 -04:00
extensions Make GetStringTableData native binary-safe (#1232) 2020-04-14 17:51:39 +01:00
gamedata Update Function Offsets For PVKII 0.4.2.2 (#1227) 2020-04-22 01:03:34 +00:00
licenses Fix quote mismatch (#1092) 2019-09-30 22:43:18 -07:00
loader Revert "Remove arch loops from build scripts. (#889)" 2018-10-04 17:59:40 +00:00
plugins Bump version for non-VCS builds (#1243) 2020-04-27 15:50:03 +01:00
public Bump version for non-VCS builds (#1243) 2020-04-27 15:50:03 +01:00
sourcepawn@305b59efbf Update SourcePawn. 2019-12-28 12:07:36 -08:00
tools Add windows supported SDKs to powershell checkout-deps (#1116) 2019-11-04 12:34:56 +00:00
translations Create menu if multiple nom matches found (#983) 2019-08-01 13:48:10 +01:00
versionlib 64-bit support for CSGO on Linux and macOS (#705) 2017-12-20 01:56:23 -06:00
.arcconfig Add a .arcconfig file so that arc works 2013-10-15 22:57:59 +01:00
.gitattributes NPOTB: Correct GitHub's Linguist inaccuracies (#1096) 2019-10-07 19:14:09 +01:00
.gitignore Update to the latest SourcePawn revision. 2015-08-18 09:51:24 -07:00
.gitmodules Use upstream SourcePawn as a submodule. 2015-03-15 16:38:38 -07:00
.travis.yml NPOTB: Enable cstrike builds w/ Travis-CI. (#1014) 2019-05-14 11:38:20 -07:00
AMBuildScript Update for latest Blade Symphony SDK 2020-03-11 22:36:25 +00:00
changelog.txt Triggering a build. 2011-04-13 19:05:41 -05:00
configure.py Add an option to build against no SDKs (#1201) 2020-03-04 21:52:07 +00:00
product.version Bump version to 1.11. 2019-10-18 21:07:36 -07:00
pushbuild.txt Trigger build for hl2sdk-csgo update. 2019-03-28 20:00:20 -04:00
README.md Incorperate Licensing Into Project Tree (#961) 2019-04-12 12:10:13 -07:00

SourceMod

General

Development

Contact

  • Connect with us on GameSurge IRC in #sourcemod
  • Alternatively feel free to join our Discord server

License

SourceMod is licensed under the GNU General Public License version 3. Special exceptions are outlined in the LICENSE.txt file inside of the licenses folder.