X-Git-Url: https://git.decadent.org.uk/gitweb/?p=nfs-utils.git;a=blobdiff_plain;f=support%2Fexport%2Fexport.c;h=0257903b45b233d4f44ad8df461655291516b132;hp=f528603b686bb541a47a823b71b3dbdac8ff4ec6;hb=a16f4a13677d13b0aae9327a3b9e8414470b7927;hpb=22d6566d473f71e241c791a02435d414648c99e8 diff --git a/support/export/export.c b/support/export/export.c index f528603..0257903 100644 --- a/support/export/export.c +++ b/support/export/export.c @@ -38,6 +38,7 @@ export_free(nfs_export *exp) xfree(exp->m_export.e_sqgids); free(exp->m_export.e_mountpoint); free(exp->m_export.e_fslocdata); + free(exp->m_export.e_uuid); xfree(exp->m_export.e_hostname); xfree(exp); @@ -356,7 +357,7 @@ strtoint(char *str) static int export_hash(char *str) { - int num = strtoint(str); + unsigned int num = strtoint(str); return num % HASH_TABLE_SIZE; }