diff options
author | attilio <attilio@FreeBSD.org> | 2013-03-08 00:03:07 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2013-03-08 00:03:07 +0000 |
commit | bf1dc904466a6994f1b4cd94d2187edfeca7b187 (patch) | |
tree | 7d66370442268ff1c2639db0446b7970c995c657 /sys/compat/linprocfs | |
parent | e98f58faf63a90d85e0e2ad78353915f9615a4eb (diff) | |
parent | 281d1157a14218414e773086b47c81754114b42a (diff) | |
download | FreeBSD-src-bf1dc904466a6994f1b4cd94d2187edfeca7b187.zip FreeBSD-src-bf1dc904466a6994f1b4cd94d2187edfeca7b187.tar.gz |
MFC
Diffstat (limited to 'sys/compat/linprocfs')
-rw-r--r-- | sys/compat/linprocfs/linprocfs.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/compat/linprocfs/linprocfs.c b/sys/compat/linprocfs/linprocfs.c index 5c24e05..a49a9bc 100644 --- a/sys/compat/linprocfs/linprocfs.c +++ b/sys/compat/linprocfs/linprocfs.c @@ -386,8 +386,7 @@ linprocfs_domtab(PFS_FILL_ARGS) sbuf_printf(sb, " 0 0\n"); } mtx_unlock(&mountlist_mtx); - if (flep != NULL) - free(flep, M_TEMP); + free(flep, M_TEMP); return (error); } @@ -447,8 +446,7 @@ linprocfs_dopartitions(PFS_FILL_ARGS) } g_topology_unlock(); - if (flep != NULL) - free(flep, M_TEMP); + free(flep, M_TEMP); return (error); } |