What does the idiom "to end in smoke" mean?

A. To make completely understand
B. To ruin oneself
C. To excite great applause
D. To overcome someone
E. None of these