ln(0) does not exist, the point of inflection for p(x) is only -1.
Edit: The point of inflection is where p''(x) changes signs. If you graph y = (x+1)e^(x) it only does that on x = -1. It is true that the limit of this to -infinity is 0, but that does not mean it ever meets the x-axis at some point.