Branch: refs/heads/master
  Home:   https://github.com/seccomp/libseccomp
  Commit: f8854f990004e71ccb9955c33d88d82cdb97ea42
      
https://github.com/seccomp/libseccomp/commit/f8854f990004e71ccb9955c33d88d82cdb97ea42
  Author: Paul Moore <[email protected]>
  Date:   2019-02-05 (Tue, 05 Feb 2019)

  Changed paths:
    M src/db.c

  Log Message:
  -----------
  db: fix a leak found by clang

Fix a leak found by clang where we were not cleaning up properly in
the error path.

    CC       libseccomp_la-db.lo
  db.c:2020:2: warning: Potential leak of memory pointed to by 'rule_s'
          _db_snap_release(snap);
          ^~~~~~~~~~~~~~~~

Signed-off-by: Paul Moore <[email protected]>


-- 
You received this message because you are subscribed to the Google Groups 
"libseccomp" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to