Fred gets out of line, but isn't given a roasting! (5)
I believe the answer is:
fried
'line but isn't given a roasting' is the definition.
I can't judge whether this defines the answer.
'fred gets out' is the wordplay.
'gets' is an insertion indicator (gets can mean captures or absorbs).
'out' becomes 'i' (I am not sure about this - if you are sure you should give a lot more credence to this answer).
'fred' going around 'i' is 'FRIED'.
'of' acts as a link.
Can you help me to learn more?
(Other definitions for fried that I've seen before include "Cooked in fat" , "Sauteed" , "Cooked on a hot surface" , "Such as cooking chips" , "Cooked in oil/fat" .)