Discovery took a pretty hefty loss when it lost the Duggar family: about $19 million, to be exact.

CFO Andrew Warren cited "higher restructuring and other charges this year of $19 million, primarily due to content impairment charges of canceling TLC's '19 Kids & Counting'" on the company's post-earnings conference call Wednesday morning.

The company's full charge for the three-month period was actually $24 million; the $19 million figure marked the difference between Q2 2014's $5 million charge.

Also Read: Discovery's Q2 Profit Drops Despite Sales Growth

TLC canceled "19 Kids" a few months after a molestation scandal surrounding show star Josh Duggar became public. There is a chance that some of the Duggars — most likely Jill and Jessa — return via a spinoff. "19 Kids" was TLC's highest-rated show.

In last year's final quarter, Discovery took impairment charges on the cancellation of "Here Comes Honey Boo-Boo." That show ended under eerily similar circumstances as "19 Kids."

For 2015's Q2, Discovery's revenue ticked up, but net income dropped 25 percent.