Index: amanda-3.3.2/ndmp-src/ndmp4_translate.c =================================================================== --- amanda-3.3.2.orig/ndmp-src/ndmp4_translate.c 2012-07-25 17:47:14.000000000 +0200 +++ amanda-3.3.2/ndmp-src/ndmp4_translate.c 2012-10-05 15:42:55.000000000 +0200 @@ -214,6 +214,8 @@ for (i = 0; i < n_pval; i++) ndmp_4to9_pval_free(&pval9[i]); NDMOS_MACRO_FREE(pval9); + + return 0; } /* @@ -2609,7 +2611,7 @@ ndmp_4to9_data_get_env_free_reply ( ndmp9_data_get_env_reply *reply9) { - ndmp_4to9_pval_vec_free(reply9->env.env_val, reply9->env.env_len); + return ndmp_4to9_pval_vec_free(reply9->env.env_val, reply9->env.env_len); } int @@ -3239,6 +3241,8 @@ } NDMOS_MACRO_FREE(request9->files.files_val); + + return 0; } int