FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix error and mem leak found by cppcheck by GregAujay · Pull Request #5 · LuaDist/lua · GitHub

This repository was archived by the owner on Nov 20, 2020. It is now read-only.
/ lua Public archive

fix error and mem leak found by cppcheck - #5

Merged
drahosp merged 1 commit into
LuaDist:masterfrom
GregAujay:master
Dec 1, 2013
Merged

fix error and mem leak found by cppcheck#5
drahosp merged 1 commit into
LuaDist:masterfrom
GregAujay:master

Conversation

Copy link
Copy Markdown

I ran cppcheck on luaDist/lua and it found these errors:
loadlib_rel.c 202 resourceLeak error Resource leak: fd
loadlib_rel.c 193 uninitvar error Uninitialized variable: n

First one was in the #else and second one in the #elif defined(APPLE)

drahosp added a commit that referenced this pull request Dec 1, 2013
fix error and mem leak found by cppcheck
drahosp merged commit 8264a49 into LuaDist:master Dec 1, 2013

drahosp commented Dec 1, 2013

Copy link
Copy Markdown
Member

Ah, good catch. Thank You !

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL