In an important recent paper, [2], S. Franz and M. Leone prove rigorous lower bounds for the free energy of the diluted p-spin model and the K-sat model at any temperature. We show that the results for these two models are consequences of a single general principle. Our calculations are significantly simpler than those of [2], even in the replica-symmetric case.