DMX is a free man once again ... but he could still find himself back behind bars if his next hearing doesn't go his way.
X was sentenced to serve 6 months in July for child support issues with a baby mama who lives in Buffalo. However, the rapper tells TMZ there was an issue with his original conviction ... he was never made aware he owed the baby mama any money.
DMX was released Friday and greeted by his attorney Dominic Candino, but he can still find himself behind bars if the court finds X knew about the money problems all along and chose not to pay up.
As for his plans now that he's free -- X says he's headed to a local Spanish food joint and will hit up the same studio where he recorded the song, "I Miss You," later tonight.
And we gotta say ... he looks good for just bustin' out, but he's kinda done the whole jail thing before.