Use common util_file code.
[martins/samba.git] / source3 / smbd / dfree.c
index 1ddcd48d40469b8d049e8ea51b13946315b53fa1..282027ee5a4c32967803b8319af47ada64b9722b 100644 (file)
@@ -112,7 +112,7 @@ SMB_BIG_UINT sys_disk_free(connection_struct *conn, const char *path, bool small
                                *bsize = STR_TO_SMB_BIG_UINT(p, NULL);
                        else
                                *bsize = 1024;
-                       file_lines_free(lines);
+                       TALLOC_FREE(lines);
                        DEBUG (3, ("Parsed output of dfree, dsize=%u, dfree=%u, bsize=%u\n",
                                (unsigned int)*dsize, (unsigned int)*dfree, (unsigned int)*bsize));