Sign in
android
/
platform
/
external
/
selinux
/
0db1ceb25e2795a469de4d73881a572520e1947f
/
.
/
libselinux
/
src
/
freeconary.c
blob: fd2dbaabfbcfaaa3ac9a7411524ea843b0e72350 [
file
] [
log
] [
blame
]
#include
<unistd.h>
#include
"selinux_internal.h"
#include
<stdlib.h>
#include
<errno.h>
void
freeconary
(
char
**
con
)
{
char
**
ptr
;
if
(!
con
)
return
;
for
(
ptr
=
con
;
*
ptr
;
ptr
++)
{
free
(*
ptr
);
}
free
(
con
);
}