This is an excellent question. For the theorem to apply, you need the $f_n$'s to be uniformly dominated by an integrable function $g$. To see this, consider the sequence
$$
f_n(x) := \frac{1}{n} \mathbf{1}_{[0,n]}(x).
$$
Clearly, $f_n \in L^1(\mathbb{R})$ for each $n \in \mathbb{N}$. Moreover, $f_n(x) \to 0$ as $n \to \infty$ for each $x \in \mathbb{R}$. However,
\begin{align*}
\lim_{n \to \infty} \int_{\mathbb{R}} f_n\,\mathrm{d}m = \lim_{n \to \infty} \int_0^n \frac{1}{n}\,\mathrm{d}x = 1 \neq 0.
\end{align*}
Nevertheless, you are not in too much trouble if you cannot find a dominating function. If your sequence of functions is uniformly bounded in $L^p(E)$ for $1 < p < \infty$ where $E$ has finite measure, then you can still take the limit inside the integral. Namely, the following theorem often helps to rectify the situation.
Theorem. Let $(f_n)$ be a sequence of measurable functions on a measure space $(X,\mathfrak{M},\mu)$ converging almost everywhere to a measurable function $f$. If $E \in \mathfrak{M}$ has finite measure and $(f_n)$ is bounded in $L^p(E)$ for some $1 < p < \infty$, then
$$
\lim_{n \to \infty} \int_E f_n\,\mathrm{d}\mu = \int_E f\,\mathrm{d}\mu.
$$
In fact, one has $f_n \to f$ strongly in $L^1(E)$.
In a sense, one can do without a dominating function when the sequence is uniformly bounded in a "higher $L^p$-space" and the domain of integration has finite measure.