View | Details | Raw Unified | Return to bug 217747 | Differences between
and this patch

Collapse All | Expand All

(-)b/sys/dev/mly/mly.c (-1 / +1 lines)
Lines 2950-2956 mly_user_command(struct mly_softc *sc, struct mly_user_command *uc) Link Here
2950
    error = 0;
2950
    error = 0;
2951
2951
2952
 out:
2952
 out:
2953
    if (mc->mc_data != NULL)
2953
    if (mc != NULL && mc->mc_data != NULL)
2954
	free(mc->mc_data, M_DEVBUF);
2954
	free(mc->mc_data, M_DEVBUF);
2955
    if (mc != NULL) {
2955
    if (mc != NULL) {
2956
	MLY_LOCK(sc);
2956
	MLY_LOCK(sc);

Return to bug 217747