install: avoid a leak in currently-ifdef'd-out code
authorJim Meyering <meyering@redhat.com>
Tue, 20 May 2008 15:58:42 +0000 (17:58 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 20 May 2008 19:35:40 +0000 (21:35 +0200)
commit3ceabe1bfcb5c5fc5802d6c2b04918e3586dd989
tree6c8400508aa2f41f77e2675161c0fa0f472bdad3
parent5e6a1837ea1d2f6670f132fb8661bb25b1b3693d
install: avoid a leak in currently-ifdef'd-out code

* src/install.c (setdefaultfilecon)
[ENABLE_WHEN_MATCHPATHCON_IS_MORE_EFFICIENT]:
Call matchpathcon_init_prefix only once.
Suggestion from Stephen Smalley.  Reported by Ben Webb in
<http://bugzilla.redhat.com/447410>.
src/install.c