Bug 204954 - usr/src/usr.bin/msgs/msgs.c:805: resource leak ?
Summary: usr/src/usr.bin/msgs/msgs.c:805: resource leak ?
Status: Closed FIXED
Alias: None
Product: Base System
Classification: Unclassified
Component: misc (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-02 08:34 UTC by David Binderman
Modified: 2019-02-07 19:12 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Binderman 2015-12-02 08:34:45 UTC
[usr/src/usr.bin/msgs/msgs.c:805]: (error) Resource leak: cpfrom

Source code is

            fseeko(newmsg, oldpos, SEEK_SET);
            ask(prompt);
            return;
Comment 1 Andriy Voskoboinyk freebsd_committer 2019-02-07 19:12:38 UTC
Fixed in base r327269.