[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Untested patch for trivial memory leak in update-game-score.c
From: |
Adam Richter |
Subject: |
Untested patch for trivial memory leak in update-game-score.c |
Date: |
Tue, 30 Apr 2019 14:21:56 -0700 |
Hi, everyone.
Attached is a patch to update-games-score.c for trivial memory leaks
found by cppcheck. In the hopes of expediting integration, I hereby
release my interest in this patch into the public domain.
As far as I can tell, update-game-score.c is not compiled when I build
emacs, so the purpose of this patch might mostly be to clean up
cppcheck output, but I did compile my modified version of the file
manually, and gcc -Wall had no complaints, although gcc -Wextra
complained about some signed/unsigned comparisons and unlock_file()
ignoring its filename parameter.
Thanks in advance for considering this patch.
Adam
emacs.update-games-score.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Untested patch for trivial memory leak in update-game-score.c,
Adam Richter <=